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
Mostrar archivo Open project: symfony-cmf/routing-bundle

Public Methods

Method 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 method

public getSubscribedEvents ( ) : array
return array

loadClassMetadata() public method

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