class StaticProxyFactory implements ProxyFactory (View source)

Static factory for proxy objects.

Constants

SKIPPED_PROPERTIES

Methods

__construct(EntityManagerInterface $entityManager, LazyLoadingGhostFactory $proxyFactory)

No description

generateProxyClasses(array $classes)

No description

getProxy(ClassMetadata $metadata, array $identifier)

Gets a reference proxy instance for the entity of the given type and identified by the given identifier.

Details

__construct(EntityManagerInterface $entityManager, LazyLoadingGhostFactory $proxyFactory)

Parameters

EntityManagerInterface $entityManager
LazyLoadingGhostFactory $proxyFactory

generateProxyClasses(array $classes)

Parameters

array $classes

getProxy(ClassMetadata $metadata, array $identifier)

Gets a reference proxy instance for the entity of the given type and identified by the given identifier.

Parameters

ClassMetadata $metadata
array $identifier