메소드 | 설명 | |
---|---|---|
__construct ( Symfony\Component\DependencyInjection\Container $container, $service ) | ||
onFlush ( Doctrine\ORM\Event\OnFlushEventArgs $eventArgs ) | Checks that only one root category exists. |
메소드 | 설명 | |
---|---|---|
checkForRoot ( |
||
ensureRootstays ( |
public __construct ( Symfony\Component\DependencyInjection\Container $container, $service ) | ||
$container | Symfony\Component\DependencyInjection\Container |
protected checkForRoot ( |
||
$category |
protected ensureRootstays ( |
||
$category |
public onFlush ( Doctrine\ORM\Event\OnFlushEventArgs $eventArgs ) | ||
$eventArgs | Doctrine\ORM\Event\OnFlushEventArgs | The event arguments as given by Doctrine |