protected function runSatis() { ini_set('memory_limit', '1024M'); putenv('COMPOSER_HOME=' . APP_ROOT); $application = new Application(); $application->add(new BuildCommand()); $arguments = ['build', 'file' => $this->config['config'], 'output-dir' => APP_ROOT . '/public', '--no-html-output' => true]; $input = new ArrayInput($arguments); $output = new NullOutput(); $application->run($input, $output); }
/** * Initializes all the composer commands */ protected function registerCommands() { $this->add(new CrawlCommand()); parent::registerCommands(); }