コード例 #1
0
ファイル: PostView.php プロジェクト: kubasobek/semestralka
 function __construct()
 {
     parent::__construct();
     $this->db = App::getContainer()->get('database');
 }
コード例 #2
0
ファイル: View.php プロジェクト: kubasobek/semestralka
 function __construct()
 {
     $this->latte = App::getContainer()->get("latte");
 }
コード例 #3
0
 function __construct()
 {
     parent::__construct();
     $this->authService = App::getContainer()->get('auth');
 }
コード例 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->postsRepo = App::getContainer()->get("postsRepository");
     $this->ratingService = App::getContainer()->get("rating");
 }
コード例 #5
0
 function __construct()
 {
     $this->db = App::getContainer()->get('database');
     $this->user = App::getContainer()->get('user');
 }
コード例 #6
0
 function __construct()
 {
     parent::__construct();
     $this->postsRepo = App::getContainer()->get("postsRepository");
 }