forked from mirror/Part-DB.Part-DB-server
Started to move doctrine annotations to attributes (rector automated)
This commit is contained in:
parent
bb1285c35c
commit
0bc4699cdc
73 changed files with 483 additions and 604 deletions
|
@ -44,11 +44,9 @@ class TreeCacheInvalidationListener
|
|||
$this->keyGenerator = $keyGenerator;
|
||||
}
|
||||
|
||||
/**
|
||||
* @ORM\PostUpdate()
|
||||
* @ORM\PostPersist()
|
||||
* @ORM\PostRemove()
|
||||
*/
|
||||
#[ORM\PostUpdate]
|
||||
#[ORM\PostPersist]
|
||||
#[ORM\PostRemove]
|
||||
public function invalidate(AbstractDBElement $element, LifecycleEventArgs $event): void
|
||||
{
|
||||
//If an element was changed, then invalidate all cached trees with this element class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue