You are here

public static function InvalidArgumentException::invalidClassNotFoundCallback in Plug 7

Parameters

mixed $callback:

Return value

self

1 call to InvalidArgumentException::invalidClassNotFoundCallback()
Autoloader::register in lib/doctrine/common/lib/Doctrine/Common/Proxy/Autoloader.php
Registers and returns autoloader callback for the given proxy dir and namespace.

File

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

Class

InvalidArgumentException
Proxy Invalid Argument Exception.

Namespace

Doctrine\Common\Proxy\Exception

Code

public static function invalidClassNotFoundCallback($callback) {
  $type = is_object($callback) ? get_class($callback) : gettype($callback);
  return new self(sprintf('Invalid \\$notFoundCallback given: must be a callable, "%s" given', $type));
}