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