/** * {@inheritdoc} */ public function __construct($code, $class, $baseControllerName, Pool $pool, CategoryManagerInterface $categoryManager, ContextManagerInterface $contextManager, SitePool $sitePool) { parent::__construct($code, $class, $baseControllerName, $pool, $categoryManager); $this->contextManager = $contextManager; $this->sitePool = $sitePool; }
/** * @param string $code * @param string $class * @param string $baseControllerName * @param Pool $pool * @param CategoryManagerInterface $categoryManager */ public function __construct($code, $class, $baseControllerName, Pool $pool, CategoryManagerInterface $categoryManager) { $this->maxPerPage = 8; $this->perPageOptions = array(8, 12, 16, 32); parent::__construct($code, $class, $baseControllerName, $pool, $categoryManager); }