Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. public function __construct(
  2. MagentoFrameworkAppActionContext $context,
  3. MagentoFrameworkMailTemplateTransportBuilder $transportBuilder,
  4. MagentoFrameworkTranslateInlineStateInterface $inlineTranslation,
  5. MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig,
  6. MagentoStoreModelStoreManagerInterface $storeManager,
  7. MagentoFrameworkEscaper $escaper
  8. ) {
  9. parent::__construct($context);
  10. $this->_transportBuilder = $transportBuilder;
  11. $this->inlineTranslation = $inlineTranslation;
  12. $this->scopeConfig = $scopeConfig;
  13. $this->storeManager = $storeManager;
  14. $this->_escaper = $escaper;
  15. }
  16.  
  17. Exception #0 (Exception): Recoverable Error: Argument 2 passed to CompanyModuleControllerIndexIndex::__construct() must be an instance of MagentoFrameworkMailTemplateTransportBuilder, instance of MagentoFrameworkViewResultPageFactory given
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement