public function render(Project $project) { $callback = $this->output->isDecorated() ? array($this, 'messageCallback') : null; $project->render($callback, $this->input->getOption('force')); $this->displayRenderSummary(); }
public function render(Project $project) { $project->render(array($this, 'messageCallback'), $this->input->getOption('force')); $this->displayRenderSummary(); return count($this->errors) ? self::PARSE_ERROR : 0; }