You are here

public static function InvalidArgumentException::notProxyClass 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::notProxyClass()

Parameters

string $className:

string $proxyNamespace:

Return value

self

1 call to InvalidArgumentException::notProxyClass()
Autoloader::resolveFile in vendor/doctrine/common/lib/Doctrine/Common/Proxy/Autoloader.php
Resolves proxy class name to a filename based on the following pattern.

File

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

Class

InvalidArgumentException
Proxy Invalid Argument Exception.

Namespace

Doctrine\Common\Proxy\Exception

Code

public static function notProxyClass($className, $proxyNamespace) {
  return new self(sprintf('The class "%s" is not part of the proxy namespace "%s"', $className, $proxyNamespace));
}