Networking\InitCmsBundle\EventListener\CacheCleaner::postRemove PHP Метод

postRemove() публичный Метод

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