Example #1
0
 function __construct()
 {
     parent::__construct();
     $this->db = App::getContainer()->get('database');
 }
Example #2
0
 function __construct()
 {
     $this->latte = App::getContainer()->get("latte");
 }
Example #3
0
 function __construct()
 {
     parent::__construct();
     $this->authService = App::getContainer()->get('auth');
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
     $this->postsRepo = App::getContainer()->get("postsRepository");
     $this->ratingService = App::getContainer()->get("rating");
 }
Example #5
0
 function __construct()
 {
     $this->db = App::getContainer()->get('database');
     $this->user = App::getContainer()->get('user');
 }
Example #6
0
 function __construct()
 {
     parent::__construct();
     $this->postsRepo = App::getContainer()->get("postsRepository");
 }