Skip to content

Commit

Permalink
Merge pull request #10 from AleksandrsKondratjevs/issue-constructor
Browse files Browse the repository at this point in the history
Add DirectoryList to page constructor
  • Loading branch information
alfredsgenkins authored Jan 8, 2021
2 parents 8e55b93 + 97e8393 commit ebdeb2c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/View/Result/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
namespace ScandiPWA\Customization\View\Result;

use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\Framework\Exception\NoSuchEntityException;
use Magento\Framework\Locale\Resolver;
use Magento\Framework\Translate\InlineInterface;
Expand Down Expand Up @@ -68,6 +69,7 @@ class Page extends LocalePage
* @param GeneratorPool $generatorPool
* @param RendererFactory $pageConfigRendererFactory
* @param Reader $pageLayoutReader
* @param DirectoryList $directoryList
* @param Json $json
* @param string $template
* @param AppIcon $appIcon,
Expand All @@ -87,6 +89,7 @@ public function __construct(
GeneratorPool $generatorPool,
RendererFactory $pageConfigRendererFactory,
Reader $pageLayoutReader,
DirectoryList $directoryList,
Json $json,
string $template,
AppIcon $appIcon,
Expand All @@ -111,6 +114,7 @@ public function __construct(
$pageConfigRendererFactory,
$pageLayoutReader,
$template,
$directoryList,
$isIsolated,
$entitySpecificHandlesList,
$action,
Expand Down

0 comments on commit ebdeb2c

Please sign in to comment.