* @license http://www.apache.org/licenses/LICENSE-2.0 * @link http://phpsx.org */ class Swift extends GeneratorAbstract { protected function getString(): string { return 'String'; } protected function getInteger(): string { return 'Int'; } protected function getNumber(): string { return 'Float'; } protected function getBoolean(): string { return 'Bool'; } protected function getArray(string $type): string { return 'Array<' . $type . '>'; } protected function getMap(string $type): string { return 'Dictionary'; } protected function getUnion(array $types): string { return implode(' | ', $types); } protected function getIntersection(array $types): string { return implode(' & ', $types); } protected function getGroup(string $type): string { return '(' . $type . ')'; } protected function getGeneric(array $types): string { return '<' . implode(', ', $types) . '>'; } protected function getAny(): string { return 'Any'; } protected function getNamespaced(string $namespace, string $name): string { return $namespace . '.' . $name; } } __halt_compiler();----SIGNATURE:----On7SZ5umjPotbabgMNeeOz6Yh/x70miVe95BGNZRq9wr74o1FMPG7fIrAbws+762kAgEzhtAfgTvTjNmt+8/uckCu0I/w2XwQUm66oZC2lMZ9X6KoezFBDMSd/ZdvjYFbRvceo22rvSkqlO6c2HVWwTYW4CLltxfpyL6W2EPjLEImL/IhOsR1ucsZP4DDE9zKwgPJ5jMtJgvQhNN8ku9O4bhGIXKHakh4mU/Qgtswnx/egSUr7/fEwAOxlQr+ZC2pExAdLp2llwlSRnVh+097bUvofM6MHtBhb/VCXfvlE+ph/o0C9h0UzrF6DfCNt4VscBiTGUcLqhddAD7aimOHRY/wDgBt3f/lc5dcA5C9gsyir3rRPnga6B12+vuu92cmp2HflLd+r2ChuLQYMhgLif01FVWsj553weDKxYbwACpoujSjHDVppVjW90GyyLV0KZnMhpIVxR4NClrIuRp9EaS5UBusZw6FmH/cB4NZvKeziINLSpnEBDlk7dc751pDcWZVy/Y1T11ZlOYflIda4SQP68/dycFk8OCnXmHzCNbLYrxmvYGLDLf4ZdJo9qBMtFK1w3nXKfXf2/O/Hx/3drRzpHGnWIdxtyc1M0fhHuLDbxuJ42/ZxjMGxQyYMsSSNa5Kxwy/H1kcheAN1RaJO1HaArDV7N63iHgKEpXlnI=----ATTACHMENT:----NTE4NTIwMzUwMDEwNjYwMCAzOTQwMTcyMDQwNjQxNjQ3IDMwMjQ3ODI5ODg5OTczNTY=