public function getBaseContext(int $referenceType = UrlGeneratorInterface::ABS_URL) : array { return ['@vocab' => $this->urlGenerator->generate('api_doc', ['_format' => self::FORMAT], UrlGeneratorInterface::ABS_URL) . '#', 'hydra' => self::HYDRA_NS]; }