class InvalidateDependenciesEvent in Dependency Calculation 8
Hierarchy
- class \Drupal\depcalc\Event\InvalidateDependenciesEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of InvalidateDependenciesEvent
1 file declares its use of InvalidateDependenciesEvent
- DepcalcCacheBackend.php in src/
Cache/ DepcalcCacheBackend.php
File
- src/
Event/ InvalidateDependenciesEvent.php, line 7
Namespace
Drupal\depcalc\EventView source
class InvalidateDependenciesEvent extends Event {
/**
* The list of DependentEntityWrappers being invalidated.
*
* @var \Drupal\depcalc\DependentEntityWrapperInterface[]
*/
protected $wrappers;
/**
* InvalidateDependenciesEvent constructor.
*
* @param \Drupal\depcalc\DependentEntityWrapperInterface[] $wrappers
*/
public function __construct(array $wrappers) {
$this->wrappers = $wrappers;
}
/**
* @return \Drupal\depcalc\DependentEntityWrapperInterface[]
*/
public function getWrappers() : array {
return $this->wrappers;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
InvalidateDependenciesEvent:: |
protected | property | The list of DependentEntityWrappers being invalidated. | |
InvalidateDependenciesEvent:: |
public | function | ||
InvalidateDependenciesEvent:: |
public | function | InvalidateDependenciesEvent constructor. |