public function setContainer(ContainerInterface $container = null)
    {
        $this->container = $container;
        $this->application = null !== $container ? $this->container->get('bbapp') : null;
    }
public function setContainer(ContainerInterface $container = null)
    {
        $this->container = $container;
        $this->application = null !== $container ? $this->container->get('bbapp') : null;
    }
public function setContainer ( ContainerInterface $ container = null ) { $ this -> container = $ container ; $ this -> application = null !== $ container ? $ this -> container -> get ( 'bbapp' ) : null ; }
Application's dependency injection container setters.

@param ContainerInterface|null $container
Application s dependency injection container setters .