Guest User

Untitled

a guest
Nov 20th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. public function __construct(
  2. MagentoFrameworkAppActionContext $context,
  3. MagestoreBannersliderModelSliderFactory $sliderFactory,
  4. MagestoreBannersliderModelBannerFactory $bannerFactory,
  5. MagestoreBannersliderModelReportFactory $reportFactory,
  6. MagestoreBannersliderModelResourceModelReportCollectionFactory $reportCollectionFactory,
  7. MagentoFrameworkControllerResultRawFactory $resultRawFactory,
  8. MagentoFrameworkLoggerMonolog $monolog,
  9. MagentoFrameworkStdlibDateTimeTimezone $stdTimezone
  10. ) {
  11. parent::__construct($context);
  12. $this->_sliderFactory = $sliderFactory;
  13. $this->_bannerFactory = $bannerFactory;
  14. $this->_reportFactory = $reportFactory;
  15. $this->_reportCollectionFactory = $reportCollectionFactory;
  16. $this->_resultRawFactory = $resultRawFactory;
  17. $this->_monolog = $monolog;
  18. $this->_stdTimezone = $stdTimezone;
  19. $this->_objectManager = $context->getObjectManager(); // Add this line
  20. }
Add Comment
Please, Sign In to add comment