* @license MIT */ class UnsupportedProxiedClassException extends LogicException implements ExceptionInterface { /** * @param ReflectionProperty $property * * @return self */ public static function unsupportedLocalizedReflectionProperty(ReflectionProperty $property) { return new self( sprintf( 'Provided reflection property "%s" of class "%s" is private and cannot be localized in PHP 5.3', $property->getName(), $property->getDeclaringClass()->getName() ) ); } }