You are here

class ProxyDefinition in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyDefinition.php \Doctrine\Common\Proxy\ProxyDefinition

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 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/AbstractProxyFactoryTest.php

File

vendor/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