コード例 #1
0
 /**
  * Retrieve pool by url
  *
  * @param $listurl
  * @throws NotFoundHttpException
  * @internal param string $url
  *
  * @return boolean
  */
 protected function getPool($listurl)
 {
     $this->pool = $this->poolRepository->findOneByListurl($listurl);
     if (!is_object($this->pool)) {
         throw new NotFoundHttpException();
     }
     return true;
 }