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');
        }
    }
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');
        }
    }
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' ) ; } }
Reads varibles from the applicative container.

@param ContainerInterface $container
Reads varibles from the applicative container .