PHP Class Symfony\Cmf\Bundle\RoutingBundle\Doctrine\RouteConditionMetadataListener

The condition option was only added in Symfony 2.4 and is missing from 2.3. When we drop Symfony 2.3 support, this listener can be dropped.
Author: David Buchmann ([email protected])
Inheritance: implements Doctrine\Common\EventSubscriber
Afficher le fichier Open project: symfony-cmf/routing-bundle

Méthodes publiques

Méthode Description
getSubscribedEvents ( ) : array
loadClassMetadata ( Doctrine\Common\Persistence\Event\LoadClassMetadataEventArgs $eventArgs ) Handle the load class metadata event: remove translated attribute from fields and remove the locale mapping if present.

Method Details

getSubscribedEvents() public méthode

public getSubscribedEvents ( ) : array
Résultat array

loadClassMetadata() public méthode

Handle the load class metadata event: remove translated attribute from fields and remove the locale mapping if present.
public loadClassMetadata ( Doctrine\Common\Persistence\Event\LoadClassMetadataEventArgs $eventArgs )
$eventArgs Doctrine\Common\Persistence\Event\LoadClassMetadataEventArgs