public static function InvalidArgumentException::invalidPlaceholder in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Proxy/Exception/InvalidArgumentException.php \Doctrine\Common\Proxy\Exception\InvalidArgumentException::invalidPlaceholder()
Parameters
string $name:
Return value
self
1 call to InvalidArgumentException::invalidPlaceholder()
- ProxyGenerator::setPlaceholder in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Proxy/ ProxyGenerator.php - Sets a placeholder to be replaced in the template.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Proxy/ Exception/ InvalidArgumentException.php, line 58
Class
- InvalidArgumentException
- Proxy Invalid Argument Exception.
Namespace
Doctrine\Common\Proxy\ExceptionCode
public static function invalidPlaceholder($name) {
return new self(sprintf('Provided placeholder for "%s" must be either a string or a valid callable', $name));
}