public function DependencyStack::__construct in Dependency Calculation 8
DependencyStack constructor.
Parameters
\Drupal\depcalc\DependentEntityWrapperInterface ...$dependencies: Any previously built dependency to prevent recalculation.
File
- src/
DependencyStack.php, line 39
Class
- DependencyStack
- The dependencies stack.
Namespace
Drupal\depcalcCode
public function __construct(DependentEntityWrapperInterface ...$dependencies) {
foreach ($dependencies as $dependency) {
$this->dependencies[$dependency
->getRemoteUuid()] = $dependency;
}
}