public function getPhaseCompleted() { if ($this->result == self::COMPLETED) { return true; } return false; }