__construct() public method

public __construct ( $container )
 public function __construct()
 {
     parent::__construct();
     $this->flickr = new Models\Flickr('8ab106f76a997bba0c04f3772c8c0b4e');
     $this->json = new Models\Json();
     $this->image = new Models\Image();
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     if (empty(Users::checkSess()) == true) {
         throw new MyException('E403');
     }
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     $this->middleware = [];
 }
 public function __construct()
 {
     parent::__construct();
     $this->song = new Song();
 }
 public function __construct($app)
 {
     parent::__construct($app);
     $this->repo = $app['cards.repository'];
 }
 public function __construct()
 {
     parent::__construct();
     $this->json = new Models\Json();
 }
 public function __construct()
 {
     parent::__construct();
     $this->user = new User();
 }