Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     $dump = "hallo";
     $this->components->get('logger')->log('dump', $dump);
     $this->init();
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
 }
 public function __construct()
 {
     parent::__construct();
     $this->db = $this->components->get('db');
 }
 /**
  * @param $product Product
  * @throws \Exception
  */
 public function __construct($product = null)
 {
     parent::__construct();
     $this->product = $product;
     $this->db = $this->components->get('db');
 }