PHP Class Sylius\Bundle\ResourceBundle\EventListener\ODMMappedSuperClassSubscriber

Author: Ivannis Suárez Jérez ([email protected])
Inheritance: extends Sylius\Bundle\ResourceBundle\EventListener\AbstractDoctrineSubscriber
Mostrar archivo Open project: sylius/sylius

Public Methods

Method Description
getSubscribedEvents ( ) : array
loadClassMetadata ( Doctrine\ODM\MongoDB\Event\LoadClassMetadataEventArgs $eventArgs )

Private Methods

Method Description
convertToDocumentIfNeeded ( ClassMetadataInfo $metadata )
hasRelation ( $type ) : boolean
setAssociationMappings ( ClassMetadataInfo $metadata, $configuration )
unsetAssociationMappings ( ClassMetadataInfo $metadata )

Method Details

getSubscribedEvents() public method

public getSubscribedEvents ( ) : array
return array

loadClassMetadata() public method

public loadClassMetadata ( Doctrine\ODM\MongoDB\Event\LoadClassMetadataEventArgs $eventArgs )
$eventArgs Doctrine\ODM\MongoDB\Event\LoadClassMetadataEventArgs