Format code
This commit is contained in:
parent
bee74f898d
commit
c9e06a6854
@ -64,7 +64,7 @@ class ProxyFactory extends AbstractProxyFactory
|
||||
* @param string $proxyNs The namespace to use for the proxy classes.
|
||||
* @param boolean|int $autoGenerate Whether to automatically generate proxy classes.
|
||||
*/
|
||||
public function __construct(EntityManager $em, $proxyDir, $proxyNs, $autoGenerate = AbstractProxyFactory :: AUTOGENERATE_NEVER)
|
||||
public function __construct(EntityManager $em, $proxyDir, $proxyNs, $autoGenerate = AbstractProxyFactory::AUTOGENERATE_NEVER)
|
||||
{
|
||||
$proxyGenerator = new ProxyGenerator($proxyDir, $proxyNs);
|
||||
|
||||
|
@ -48,7 +48,7 @@ class ProxyFactoryTest extends \Doctrine\Tests\OrmTestCase
|
||||
$this->emMock = EntityManagerMock::create($this->connectionMock);
|
||||
$this->uowMock = new UnitOfWorkMock($this->emMock);
|
||||
$this->emMock->setUnitOfWork($this->uowMock);
|
||||
$this->proxyFactory = new ProxyFactory($this->emMock, sys_get_temp_dir(), 'Proxies', AbstractProxyFactory :: AUTOGENERATE_ALWAYS);
|
||||
$this->proxyFactory = new ProxyFactory($this->emMock, sys_get_temp_dir(), 'Proxies', AbstractProxyFactory::AUTOGENERATE_ALWAYS);
|
||||
}
|
||||
|
||||
public function testReferenceProxyDelegatesLoadingToThePersister()
|
||||
|
Loading…
x
Reference in New Issue
Block a user