示例#1
0
 /**
  * @param TemplateManager $templateManager
  * @param SessionSection $session
  * @param ContentManager $contentManager
  */
 public function __construct(TemplateManager $templateManager, SessionSection $session, ContentManager $contentManager)
 {
     parent::__construct();
     $this->templateManager = $templateManager;
     $this->session = $session;
     $this->contentManager = $contentManager;
 }
示例#2
0
 public function __construct(AnalyticsManager $analyticsManager, IStorage $fileStorage)
 {
     parent::__construct();
     $this->analyticsManager = $analyticsManager;
     $this->cache = new Cache($fileStorage, 'GA');
     $this->setHistory();
 }
示例#3
0
 public function __construct(BaseRepository $repository = NULL)
 {
     parent::__construct();
     $this->repository = $repository;
 }
示例#4
0
 /**
  * @param BaseRepository $repository
  * @param ExtendedPageEntity $extendedPage
  */
 public function __construct(BaseRepository $repository, ExtendedPageEntity $extendedPage)
 {
     parent::__construct();
     $this->repository = $repository;
     $this->extendedPage = $extendedPage;
 }
示例#5
0
 public function __construct($primaryColumn = 'id')
 {
     parent::__construct();
     $this->primaryColumn = $primaryColumn;
 }