Beispiel #1
0
 /**
  * Sets the head list
  *
  * @param GitPHP_HeadList $headList head list
  */
 public function SetHeadList($headList)
 {
     if ($headList && $headList->GetProject() !== $this) {
         throw new Exception('Invalid headlist for this project');
     }
     $this->headList = $headList;
 }