コード例 #1
0
 /**
  * @return Git_Mirror_Mirror
  * @throws Git_Mirror_MirrorNotFoundException
  */
 public function fetch($id)
 {
     $row = $this->dao->fetch($id);
     if (!$row) {
         throw new Git_Mirror_MirrorNotFoundException();
     }
     $owner = $this->getMirrorOwner($row['id']);
     return $this->getInstanceFromRow($owner, $row);
 }