예제 #1
0
파일: Story.php 프로젝트: bradley-holt/zf2
 /**
  * Get the phase
  * 
  * @param  array $params
  * @return Phase
  */
 public function getPhase($params = array())
 {
     return $this->service->getPhase($this->projectId, $this->phaseId, $params);
 }
예제 #2
0
 /**
  * Get a specific phase of the project
  * 
  * @param  string $id
  * @param  array  $params
  * @return Phase
  */
 public function getPhase($id, $params = array())
 {
     if (!empty($id)) {
         return $this->service->getPhase($this->id, $id, $params);
     }
 }