Example #1
0
 /**
  * Constructs a new StatementController.
  */
 public function __construct(QueryRepository $query)
 {
     parent::__construct();
     $this->query = $query;
 }
Example #2
0
 /**
  * Constructs a new xAPI controller.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setMethod();
 }
 /**
  * Constructs a new AnalyticsController.
  * @param AnalyticsData $analytics
  */
 public function __construct(AnalyticsData $analytics)
 {
     parent::__construct();
     $this->analytics = $analytics;
 }