public postUpdate ( Doctrine\ORM\Event\LifecycleEventArgs $args ) | ||
$args | Doctrine\ORM\Event\LifecycleEventArgs |
public function postUpdate(LifecycleEventArgs $args)
{
$entity = $args->getEntity();
if ($entity instanceof MenuItem) {
$this->cleanCache();
}
}