public function __construct(\Modules\IzBlog\Entities\PostCategory $postCategory, array $data = []) { $this->postCategoryModel = $postCategory; parent::__construct($data); }
public function __construct(\Pingpong\Modules\Repository $modules, array $data = []) { $this->module = $modules; $this->izTheme = app()['izTheme']; parent::__construct($data); }
/** * MagentoSearchApi constructor. * * @param array $data */ public function __construct(array $data = []) { parent::__construct($data); }
/** * ViewManagement constructor. * * @param \Modules\IzBlog\Entities\Theme\View $viewModel * @param array $data */ public function __construct(\Modules\IzBlog\Entities\Theme\View $viewModel, array $data = []) { $this->viewModel = $viewModel; $this->izTheme = app()['izTheme']; parent::__construct($data); }
/** * Post constructor. * * @param \Modules\IzBlog\Entities\Post $post * @param array $data */ public function __construct(\Modules\IzBlog\Entities\Post $post, array $data = []) { $this->post = $post; parent::__construct($data); }
/** * IzXml constructor. * * @param \Pingpong\Modules\Repository $module * @param array $data */ public function __construct(Repository $module, array $data = []) { $this->module = $module; parent::__construct($data); }
/** * ViewAbstract constructor. * * @param \Modules\IzBlog\Entities\Theme\View $viewModel * @param array $data */ public function __construct(\Modules\IzBlog\Entities\Theme\View $viewModel, \Modules\IzCore\Entities\Theme $themeModel, array $data = []) { $this->themeModel = $themeModel; $this->viewModel = $viewModel; parent::__construct($data); }