You are here

public static function InvalidArgumentException::unitializedProxyExpected in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Proxy/Exception/InvalidArgumentException.php \Doctrine\Common\Proxy\Exception\InvalidArgumentException::unitializedProxyExpected()

Parameters

Proxy $proxy:

Return value

self

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

File

vendor/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)));
}