PHP Class Sulu\Component\Persistence\EventSubscriber\ORM\MetadataSubscriber

Inheritance: implements Doctrine\Common\EventSubscriber
ファイルを表示 Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$objects array

Public Methods

Method Description
__construct ( array $objects ) Constructor.
getSubscribedEvents ( )
loadClassMetadata ( Doctrine\ORM\Event\LoadClassMetadataEventArgs $event )

Private Methods

Method Description
getAllClassNames ( Doctrine\ORM\Configuration $configuration ) : array
hasRelation ( $type ) : boolean
process ( Doctrine\ORM\Mapping\ClassMetadataInfo $metadata )
setAssociationMappings ( Doctrine\ORM\Mapping\ClassMetadataInfo $metadata, Doctrine\ORM\Configuration $configuration )
unsetAssociationMappings ( Doctrine\ORM\Mapping\ClassMetadataInfo $metadata )

Method Details

__construct() public method

Constructor.
public __construct ( array $objects )
$objects array

getSubscribedEvents() public method

public getSubscribedEvents ( )

loadClassMetadata() public method

public loadClassMetadata ( Doctrine\ORM\Event\LoadClassMetadataEventArgs $event )
$event Doctrine\ORM\Event\LoadClassMetadataEventArgs

Property Details

$objects protected_oe property

protected array $objects
return array