Beispiel #1
0
 public function __construct($id, Module $module, array $config = [])
 {
     $this->categoryService = Yii::createObject('CategoryService');
     $this->brandService = Yii::createObject('BrandService');
     $this->productService = Yii::createObject('ProductService');
     parent::__construct($id, $module, $config);
 }
Beispiel #2
0
 public function __construct($id, Module $module, array $config = [])
 {
     $this->userService = Yii::createObject('UserService');
     parent::__construct($id, $module, $config);
 }