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