20 private $typeResolver;
25 private $hydratorPool;
30 private $attributePool;
42 $this->typeResolver = $typeResolver;
43 $this->hydratorPool = $hydratorPool;
44 $this->attributePool = $attributePool;
55 $hydrator = $this->hydratorPool->getHydrator(
$entityType);
57 $actions = $this->attributePool->getActions(
$entityType,
'delete');
58 foreach ($actions as $action) {
execute($entity, $arguments=[])
__construct(TypeResolver $typeResolver, HydratorPool $hydratorPool, AttributePool $attributePool)