Skip to content

Commit 46a2648

Browse files
author
Dale Sikkema
committed
MAGETWO-34168: Application Init Arguments are Not Passed to Classes
1 parent dfd7e03 commit 46a2648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/App/ObjectManagerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function __construct(DirectoryList $directoryList, DriverPool $driverPool
9696
public function create(array $arguments)
9797
{
9898
$deploymentConfig = $this->createDeploymentConfig($this->directoryList, $arguments);
99-
99+
$arguments = array_merge($deploymentConfig->get(), $arguments);
100100
$definitionFactory = new \Magento\Framework\ObjectManager\DefinitionFactory(
101101
$this->driverPool->getDriver(DriverPool::FILE),
102102
$this->directoryList->getPath(DirectoryList::DI),

0 commit comments

Comments
 (0)