public function getContainer()
    {
        if (null !== $this->container) {
            throw new ContainerAlreadyExistsException($this->container);
        }

        // Construct container
        $this->container = new Container();
        $this->hydrateContainerWithBootstrapParameters();

        if (false === $this->tryParseContainerDump()) {
            $this->hydrateContainerWithApplicationParameters();
            $this->loadApplicationServices();
        }

        return $this->container;
    }
public function getContainer()
    {
        if (null !== $this->container) {
            throw new ContainerAlreadyExistsException($this->container);
        }

        // Construct container
        $this->container = new Container();
        $this->hydrateContainerWithBootstrapParameters();

        if (false === $this->tryParseContainerDump()) {
            $this->hydrateContainerWithApplicationParameters();
            $this->loadApplicationServices();
        }

        return $this->container;
    }
public function getContainer ( ) { if ( null !== $ this -> container ) { throw new ContainerAlreadyExistsException ( $ this -> container ) ; } // Construct container $ this -> container = new Container ( ) ; $ this -> hydrateContainerWithBootstrapParameters ( ) ; if ( false === $ this -> tryParseContainerDump ( ) ) { $ this -> hydrateContainerWithApplicationParameters ( ) ; $ this -> loadApplicationServices ( ) ; } return $ this -> container ; }
Every time you invoke this method it will return a new BackBee\DependencyInjection\Container.

@return BackBee\DependencyInjection\Container

@throws ContainerAlreadyExistsException will be raise if you try to call more than one time
getContainer
Every time you invoke this method it will return a new BackBee \ DependencyInjection \ Container .