private function hydrateContainerWithBootstrapParameters()
    {
        $parameters = (new BootstrapResolver($this->repository_directory, $this->context, $this->environment))
            ->getBootstrapParameters()
        ;

        $missing_parameters = array();
        $this->tryAddParameter('debug', $parameters, $missing_parameters);
        $this->tryAddParameter('bootstrap_filepath', $parameters, $missing_parameters);
        if (true === array_key_exists('container', $parameters)) {
            $this->tryAddParameter('dump_directory', $parameters['container'], $missing_parameters, 'container.');
            $this->tryAddParameter('autogenerate', $parameters['container'], $missing_parameters, 'container.');
        } else {
            $missing_parameters[] = 'container.dump_directory';
            $missing_parameters[] = 'container.autogenerate';
        }

        if (0 < count($missing_parameters)) {
            throw new MissingBootstrapParametersException($missing_parameters);
        }
    }
private function hydrateContainerWithBootstrapParameters()
    {
        $parameters = (new BootstrapResolver($this->repository_directory, $this->context, $this->environment))
            ->getBootstrapParameters()
        ;

        $missing_parameters = array();
        $this->tryAddParameter('debug', $parameters, $missing_parameters);
        $this->tryAddParameter('bootstrap_filepath', $parameters, $missing_parameters);
        if (true === array_key_exists('container', $parameters)) {
            $this->tryAddParameter('dump_directory', $parameters['container'], $missing_parameters, 'container.');
            $this->tryAddParameter('autogenerate', $parameters['container'], $missing_parameters, 'container.');
        } else {
            $missing_parameters[] = 'container.dump_directory';
            $missing_parameters[] = 'container.autogenerate';
        }

        if (0 < count($missing_parameters)) {
            throw new MissingBootstrapParametersException($missing_parameters);
        }
    }
private function hydrateContainerWithBootstrapParameters ( ) { $ parameters = ( new BootstrapResolver ( $ this -> repository_directory , $ this -> context , $ this -> environment ) ) -> getBootstrapParameters ( ) ; $ missing_parameters = array ( ) ; $ this -> tryAddParameter ( 'debug' , $ parameters , $ missing_parameters ) ; $ this -> tryAddParameter ( 'bootstrap_filepath' , $ parameters , $ missing_parameters ) ; if ( true === array_key_exists ( 'container' , $ parameters ) ) { $ this -> tryAddParameter ( 'dump_directory' , $ parameters [ 'container' ] , $ missing_parameters , 'container.' ) ; $ this -> tryAddParameter ( 'autogenerate' , $ parameters [ 'container' ] , $ missing_parameters , 'container.' ) ; } else { $ missing_parameters [ ] = 'container.dump_directory' ; $ missing_parameters [ ] = 'container.autogenerate' ; } if ( 0 < count ( $ missing_parameters ) ) { throw new MissingBootstrapParametersException ( $ missing_parameters ) ; } }
Hydrate container with bootstrap.yml parameter.

@throws MissingBootstrapParametersException raises if we are not able to find bootstrap.yml file
Hydrate container with bootstrap . yml parameter .