Recca0120\Terminal\Console\Commands\Composer::fire PHP Метод

fire() публичный Метод

handle.
public fire ( )
    public function fire()
    {
        $this->install();
        $command = trim($this->option('command'));
        if (empty($command) === true) {
            $command = 'help';
        }
        $input = new StringInput($command);
        $output = $this->getOutput();
        $application = new \Composer\Console\Application();
        $application->setAutoExit(false);
        $application->run($input, $output);
    }