Exemple #1
0
 public function __construct($model, Config $config, Request $request, CookieJar $cookieJar)
 {
     $this->config = $config;
     $this->request = $request;
     $this->cookieJar = $cookieJar;
     parent::__construct($model);
 }
Exemple #2
0
 /**
  * Create repository instance.
  *
  * @param RefererParser $refererParser
  */
 public function __construct($model, $searchTermModel, $currentUrl, RefererParser $refererParser)
 {
     parent::__construct($model);
     $this->refererParser = $refererParser;
     $this->currentUrl = $currentUrl;
     $this->searchTermModel = $searchTermModel;
 }
Exemple #3
0
 public function __construct($model, EventStorage $eventStorage, EventLog $eventLogRepository, SystemClass $systemClassRepository, Log $logRepository, Config $config)
 {
     parent::__construct($model);
     $this->eventStorage = $eventStorage;
     $this->eventLogRepository = $eventLogRepository;
     $this->systemClassRepository = $systemClassRepository;
     $this->logRepository = $logRepository;
     $this->config = $config;
 }
Exemple #4
0
 public function __construct($model, SqlQueryLog $sqlQueryLogRepository, SqlQueryBinding $sqlQueryBindingRepository, SqlQueryBindingParameter $sqlQueryBindingParameterRepository, Connection $connectionRepository, Log $logRepository, Config $config)
 {
     parent::__construct($model);
     $this->sqlQueryLogRepository = $sqlQueryLogRepository;
     $this->sqlQueryBindingRepository = $sqlQueryBindingRepository;
     $this->sqlQueryBindingParameterRepository = $sqlQueryBindingParameterRepository;
     $this->connectionRepository = $connectionRepository;
     $this->logRepository = $logRepository;
     $this->config = $config;
 }
Exemple #5
0
 public function __construct($model, Config $config)
 {
     parent::__construct($model);
     $this->config = $config;
 }
Exemple #6
0
 public function __construct($model, Config $config, PhpSession $session)
 {
     $this->config = $config;
     $this->session = $session;
     parent::__construct($model);
 }