You are here

public static function InvalidArgumentException::invalidPlaceholder in Plug 7

Parameters

string $name:

Return value

self

1 call to InvalidArgumentException::invalidPlaceholder()
ProxyGenerator::setPlaceholder in lib/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php
Sets a placeholder to be replaced in the template.

File

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

Class

InvalidArgumentException
Proxy Invalid Argument Exception.

Namespace

Doctrine\Common\Proxy\Exception

Code

public static function invalidPlaceholder($name) {
  return new self(sprintf('Provided placeholder for "%s" must be either a string or a valid callable', $name));
}