PHP Class Neos\Flow\Tests\Reflection\Fixture\Model\EntityWithDoctrineProxy

Inheritance: extends Entity, implements Doctrine\ORM\Proxy\Proxy
Show file Open project: neos/flow-development-collection

Public Properties

Property Type Description
$__cloner__ the callback responsible of loading properties that need to be copied in the cloned object
$__initializer__ the callback responsible for loading properties in the proxy object. This callback is called with three parameters, being respectively the proxy object to be initialized, the method that triggered the initialization process and an array of ordered parameters that were passed to that method.
$__isInitialized__ flag indicating if this object was already initialized
$lazyPropertiesDefaults properties to be lazy loaded, with keys being the property names and values being their default values

Public Methods

Method Description
__construct ( Closure $initializer = null, Closure $cloner = null )
__getCloner ( ) {@inheritDoc}
__getInitializer ( ) {@inheritDoc}
__getLazyProperties ( ) {@inheritDoc}
__isInitialized ( ) {@inheritDoc}
__load ( ) Forces initialization of the proxy
__setCloner ( Closure $cloner = null ) {@inheritDoc}
__setInitialized ( $initialized ) {@inheritDoc}
__setInitializer ( Closure $initializer = null ) {@inheritDoc}

Method Details

__construct() public method

public __construct ( Closure $initializer = null, Closure $cloner = null )
$initializer Closure
$cloner Closure

__getCloner() public method

{@inheritDoc}
public __getCloner ( )

__getInitializer() public method

{@inheritDoc}
public __getInitializer ( )

__getLazyProperties() public method

{@inheritDoc}
public __getLazyProperties ( )

__isInitialized() public method

{@inheritDoc}
public __isInitialized ( )

__load() public method

Forces initialization of the proxy
public __load ( )

__setCloner() public method

{@inheritDoc}
public __setCloner ( Closure $cloner = null )
$cloner Closure

__setInitialized() public method

{@inheritDoc}
public __setInitialized ( $initialized )

__setInitializer() public method

{@inheritDoc}
public __setInitializer ( Closure $initializer = null )
$initializer Closure

Property Details

$__cloner__ public property

the callback responsible of loading properties that need to be copied in the cloned object
See also: Doctrine\Common\Persistence\Proxy::__setCloner
public $__cloner__

$__initializer__ public property

the callback responsible for loading properties in the proxy object. This callback is called with three parameters, being respectively the proxy object to be initialized, the method that triggered the initialization process and an array of ordered parameters that were passed to that method.
See also: Doctrine\Common\Persistence\Proxy::__setInitializer
public $__initializer__

$__isInitialized__ public property

flag indicating if this object was already initialized
See also: Doctrine\Common\Persistence\Proxy::__isInitialized
public $__isInitialized__

$lazyPropertiesDefaults public static property

properties to be lazy loaded, with keys being the property names and values being their default values
See also: Doctrine\Common\Persistence\Proxy::__getLazyProperties
public static $lazyPropertiesDefaults