| 1 | <?php | ||
| 10 | final class Testing implements MapperInterface | ||
| 11 | { | ||
| 12 | public const BASE_URL = 'https://api.kvk.nl'; | ||
| 13 | private const SEARCH_ENDPOINT = '/api/v2/testsearch/companies'; | ||
| 14 | private const PROFILE_ENDPOINT = '/api/v2/testprofile/companies'; | ||
| 15 | |||
| 16 | private $map = [ | ||
| 17 | MapperInterface::SEARCH => self::BASE_URL . self::SEARCH_ENDPOINT, | ||
| 18 | MapperInterface::PROFILE => self::BASE_URL . self::PROFILE_ENDPOINT, | ||
| 19 | ]; | ||
| 20 | |||
| 21 | 21 | public function map(string $key): string | |
| 29 | } | ||
| 30 |