public function DependencyCalculator::__construct in Dependency Calculation 8
The DependencyCalculator constructor.
Parameters
\Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher: The event dispatcher.
\Drupal\Core\Logger\LoggerChannelInterface $logger: The depcalc logger channel.
File
- src/
DependencyCalculator.php, line 41
Class
- DependencyCalculator
- Calculates all the dependencies of a given entity.
Namespace
Drupal\depcalcCode
public function __construct(EventDispatcherInterface $dispatcher, LoggerChannelInterface $logger) {
$this->dispatcher = $dispatcher;
$this->logger = $logger;
}