You are here

class ProxyDefinition in Plug 7

Definition structure how to create a proxy.

@author Benjamin Eberlei <kontakt@beberlei.de>

Hierarchy

Expanded class hierarchy of ProxyDefinition

1 file declares its use of ProxyDefinition
AbstractProxyFactoryTest.php in lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/AbstractProxyFactoryTest.php

File

lib/doctrine/common/lib/Doctrine/Common/Proxy/ProxyDefinition.php, line 27

Namespace

Doctrine\Common\Proxy
View source
class ProxyDefinition {

  /**
   * @var string
   */
  public $proxyClassName;

  /**
   * @var array
   */
  public $identifierFields;

  /**
   * @var \ReflectionProperty[]
   */
  public $reflectionFields;

  /**
   * @var callable
   */
  public $initializer;

  /**
   * @var callable
   */
  public $cloner;

  /**
   * @param string   $proxyClassName
   * @param array    $identifierFields
   * @param array    $reflectionFields
   * @param callable $initializer
   * @param callable $cloner
   */
  public function __construct($proxyClassName, array $identifierFields, array $reflectionFields, $initializer, $cloner) {
    $this->proxyClassName = $proxyClassName;
    $this->identifierFields = $identifierFields;
    $this->reflectionFields = $reflectionFields;
    $this->initializer = $initializer;
    $this->cloner = $cloner;
  }

}

Members