PHP Class Sonata\Component\Subscriber\ORMInheritanceSubscriber

Inheritance: implements Doctrine\Common\EventSubscriber
显示文件 Open project: sonata-project/ecommerce Class Usage Examples

Protected Properties

Property Type Description
$map array
$productClass

Public Methods

Method Description
__construct ( array $map, string $productClass )
getSubscribedEvents ( )
loadClassMetadata ( Doctrine\ORM\Event\LoadClassMetadataEventArgs $eventArgs )

Method Details

__construct() public method

public __construct ( array $map, string $productClass )
$map array
$productClass string

getSubscribedEvents() public method

public getSubscribedEvents ( )

loadClassMetadata() public method

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

Property Details

$map protected_oe property

protected array $map
return array

$productClass protected_oe property

protected $productClass