private function readFromContainer(ContainerInterface $container)
    {
        $this->setValueIfParameterExists($container, $this->uriPrefixes[self::IMAGE_URL], 'bbapp.routing.image_uri_prefix')
                ->setValueIfParameterExists($container, $this->uriPrefixes[self::MEDIA_URL], 'bbapp.routing.media_uri_prefix')
                ->setValueIfParameterExists($container, $this->uriPrefixes[self::RESOURCE_URL], 'bbapp.routing.resource_uri_prefix')
                ->setValueIfParameterExists($container, $this->defaultScheme, 'bbapp.routing.default_protocol');

        if (null === $this->logger && $container->has('logging')) {
            $this->logger = $container->get('logging');
        }
    }