/**
* @param Config $config
*/
protected function setContainerElements(Config $config)
{
AnnotationRegistry::registerLoader('class_exists');
$config->getHateoasService()->register($config->getContainer(), $config->getHateoasConfig());
$config->getContainer()->add(Application::CONTAINER_ID_VENDOR, $config->getVendor());
$config->getContainer()->add(Application::CONTAINER_ID_API_VERSION, $config->getApiVersion());
$config->getContainer()->add(Application::CONTAINER_ID_DEBUG, $config->isDebug());
}