Beispiel #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;
 }
Beispiel #2
0
 public function __construct(AnalyticsManager $analyticsManager, IStorage $fileStorage)
 {
     parent::__construct();
     $this->analyticsManager = $analyticsManager;
     $this->cache = new Cache($fileStorage, 'GA');
     $this->setHistory();
 }
Beispiel #3
0
 public function __construct(BaseRepository $repository = NULL)
 {
     parent::__construct();
     $this->repository = $repository;
 }
Beispiel #4
0
 /**
  * @param BaseRepository $repository
  * @param ExtendedPageEntity $extendedPage
  */
 public function __construct(BaseRepository $repository, ExtendedPageEntity $extendedPage)
 {
     parent::__construct();
     $this->repository = $repository;
     $this->extendedPage = $extendedPage;
 }
Beispiel #5
0
 public function __construct($primaryColumn = 'id')
 {
     parent::__construct();
     $this->primaryColumn = $primaryColumn;
 }