/** * Parse the project (if not parsed before). * * @return boolean */ protected function parse() { if ($this->parsed) { return true; } $this->project->parse(); $this->parsed = true; return true; }
public function parse(Project $project) { $callback = $this->output->isDecorated() ? array($this, 'messageCallback') : null; $project->parse($callback, $this->input->getOption('force')); $this->displayParseSummary(); }
public function parse(Project $project) { $project->parse(array($this, 'messageCallback'), $this->input->getOption('force')); $this->displayParseSummary(); return count($this->errors) ? self::PARSE_ERROR : 0; }