예제 #1
0
 /**
  * Add phases
  *
  * @param Phase $phase
  * @return Event
  */
 public function addPhase(Phase $phase)
 {
     $this->phases[] = $phase;
     $phase->setEvent($this);
     return $this;
 }