You are here

public static function InvalidArgumentException::unitializedProxyExpected in Plug 7

Parameters

Proxy $proxy:

Return value

self

1 call to InvalidArgumentException::unitializedProxyExpected()
AbstractProxyFactory::resetUninitializedProxy in lib/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php
Reset initialization/cloning logic for an un-initialized proxy

File

lib/doctrine/common/lib/Doctrine/Common/Proxy/Exception/InvalidArgumentException.php, line 76

Class

InvalidArgumentException
Proxy Invalid Argument Exception.

Namespace

Doctrine\Common\Proxy\Exception

Code

public static function unitializedProxyExpected(Proxy $proxy) {
  return new self(sprintf('Provided proxy of type "%s" must not be initialized.', get_class($proxy)));
}