Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $dump = "hallo";
     $this->components->get('logger')->log('dump', $dump);
     $this->init();
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct();
     $this->db = $this->components->get('db');
 }
Пример #4
0
 /**
  * @param $product Product
  * @throws \Exception
  */
 public function __construct($product = null)
 {
     parent::__construct();
     $this->product = $product;
     $this->db = $this->components->get('db');
 }