You are here

public function AbstractProxyFactory::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php \Doctrine\Common\Proxy\AbstractProxyFactory::__construct()

Parameters

\Doctrine\Common\Proxy\ProxyGenerator $proxyGenerator:

\Doctrine\Common\Persistence\Mapping\ClassMetadataFactory $metadataFactory:

bool|int $autoGenerate:

File

vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php, line 97

Class

AbstractProxyFactory
Abstract factory for proxy objects.

Namespace

Doctrine\Common\Proxy

Code

public function __construct(ProxyGenerator $proxyGenerator, ClassMetadataFactory $metadataFactory, $autoGenerate) {
  $this->proxyGenerator = $proxyGenerator;
  $this->metadataFactory = $metadataFactory;
  $this->autoGenerate = (int) $autoGenerate;
}