public function update(Project $project)
 {
     $callback = $this->output->isDecorated() ? array($this, 'messageCallback') : null;
     $project->update($callback, $this->input->getOption('force'));
     $this->displayParseSummary();
     $this->displayRenderSummary();
 }
示例#2
0
 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;
 }