You are here

public static function UnexpectedValueException::invalidParameterTypeHint in Plug 7

Parameters

string $className:

string $methodName:

string $parameterName:

\Exception $previous:

Return value

self

1 call to UnexpectedValueException::invalidParameterTypeHint()
ProxyGenerator::getParameterType in lib/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php

File

lib/doctrine/common/lib/Doctrine/Common/Proxy/Exception/UnexpectedValueException.php, line 51

Class

UnexpectedValueException
Proxy Unexpected Value Exception.

Namespace

Doctrine\Common\Proxy\Exception

Code

public static function invalidParameterTypeHint($className, $methodName, $parameterName, \Exception $previous) {
  return new self(sprintf('The type hint of parameter "%s" in method "%s" in class "%s" is invalid.', $parameterName, $methodName, $className), 0, $previous);
}