Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
wp-content
/
plugins
/
mailpoet
/
vendor-prefixed
/
doctrine
/
common
/
lib
/
Doctrine
/
Common
/
Proxy
/
Exception
:
UnexpectedValueException.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace MailPoetVendor\Doctrine\Common\Proxy\Exception; if (!defined('ABSPATH')) exit; use Throwable; use UnexpectedValueException as BaseUnexpectedValueException; use function sprintf; class UnexpectedValueException extends BaseUnexpectedValueException implements ProxyException { public static function proxyDirectoryNotWritable($proxyDirectory) { return new self(sprintf('Your proxy directory "%s" must be writable', $proxyDirectory)); } public static function invalidParameterTypeHint($className, $methodName, $parameterName, ?Throwable $previous = null) { return new self(sprintf('The type hint of parameter "%s" in method "%s" in class "%s" is invalid.', $parameterName, $methodName, $className), 0, $previous); } public static function invalidReturnTypeHint($className, $methodName, ?Throwable $previous = null) { return new self(sprintf('The return type of method "%s" in class "%s" is invalid.', $methodName, $className), 0, $previous); } }