Symfony\Component\Console\Application::setAutoExit PHP Méthode

setAutoExit() public méthode

Sets whether to automatically exit after a command execution or not.
public setAutoExit ( boolean $boolean )
$boolean boolean Whether to automatically exit after a command execution or not
    public function setAutoExit($boolean)
    {
        $this->autoExit = (bool) $boolean;
    }

Usage Example

Exemple #1
0
 public function setUp()
 {
     parent::setUp();
     $_SERVER['PHWOOLCON_MIGRATION_PATH'] = TEST_ROOT_PATH . '/bin/migrations';
     $this->cli = Cli::register($this->di);
     $this->cli->setAutoExit(false);
     $this->output = new BufferedOutput();
 }
All Usage Examples Of Symfony\Component\Console\Application::setAutoExit