Property | Type | Description | |
---|---|---|---|
$routingDiscriminatorsMap | array |
Method | Description | |
---|---|---|
__construct ( array $routingDiscriminatorsMap = [] ) | RoutableSubscriber constructor. | |
getSubscribedEvents ( ) | ||
loadClassMetadata ( Doctrine\ORM\Event\LoadClassMetadataEventArgs $eventArgs ) | ||
prePersist ( Doctrine\ORM\Event\LifecycleEventArgs $args ) | Add Route for new entity |
Method | Description | |
---|---|---|
addRoute ( WellCommerce\Bundle\RoutingBundle\Entity\RoutableSubjectInterface $entity ) : WellCommerce\Bundle\RoutingBundle\Entity\RouteInterface | Adds new route |
public __construct ( array $routingDiscriminatorsMap = [] ) | ||
$routingDiscriminatorsMap | array |
protected addRoute ( WellCommerce\Bundle\RoutingBundle\Entity\RoutableSubjectInterface $entity ) : WellCommerce\Bundle\RoutingBundle\Entity\RouteInterface | ||
$entity | WellCommerce\Bundle\RoutingBundle\Entity\RoutableSubjectInterface | |
return | WellCommerce\Bundle\RoutingBundle\Entity\RouteInterface |
public loadClassMetadata ( Doctrine\ORM\Event\LoadClassMetadataEventArgs $eventArgs ) | ||
$eventArgs | Doctrine\ORM\Event\LoadClassMetadataEventArgs |
public prePersist ( Doctrine\ORM\Event\LifecycleEventArgs $args ) | ||
$args | Doctrine\ORM\Event\LifecycleEventArgs |
protected array $routingDiscriminatorsMap | ||
return | array |