public function __construct($code, $class, $baseControllerName, SitePool $sitePool)
 {
     parent::__construct($code, $class, $baseControllerName);
     $this->sitePool = $sitePool;
 }
コード例 #2
0
 /**
  * Constructor
  *
  * @param string             $code               A Sonata admin code
  * @param string             $class              A Sonata admin class name
  * @param string             $baseControllerName A Sonata admin base controller name
  * @param RoutePageGenerator $routePageGenerator Sonata route page generator service
  */
 public function __construct($code, $class, $baseControllerName, RoutePageGenerator $routePageGenerator)
 {
     $this->routePageGenerator = $routePageGenerator;
     parent::__construct($code, $class, $baseControllerName);
 }