PhpSpec\Console\Application::getContainer PHP Méthode

getContainer() public méthode

public getContainer ( ) : PhpSpec\ServiceContainer
Résultat PhpSpec\ServiceContainer
    public function getContainer()
    {
        return $this->container;
    }

Usage Example

 private function setupPrompter()
 {
     $this->prompter = new Prompter();
     $this->application->getContainer()->set('console.prompter', $this->prompter);
 }
All Usage Examples Of PhpSpec\Console\Application::getContainer