コード例 #1
0
ファイル: Admin.php プロジェクト: andrewtch/SonataAdminBundle
 /**
  * {@inheritdoc}
  */
 public function hasRoute($name)
 {
     if (!$this->routeGenerator) {
         throw new \RuntimeException('RouteGenerator cannot be null');
     }
     return $this->routeGenerator->hasAdminRoute($this, $name);
 }