Class

Symfony\Bridge\Doctrine\Validator\EntityInitializer

class EntityInitializer implements ObjectInitializerInterface

Automatically loads proxy object before validation.

Methods

__construct(RegistryInterface $registry)

initialize(object $object)

Initializes an object just before validation.

Details

at line 27
public __construct(RegistryInterface $registry)

Parameters

RegistryInterface $registry

at line 32
public initialize(object $object)

Initializes an object just before validation.

Parameters

object $object The object to validate