File manager - Edit - /var/www/payraty/helpdesk/vendor/roave/better-reflection/src/Reflection/Exception/NotAnInterfaceReflection.php
Back
<?php declare(strict_types=1); namespace Roave\BetterReflection\Reflection\Exception; use Roave\BetterReflection\Reflection\ReflectionClass; use UnexpectedValueException; use function sprintf; class NotAnInterfaceReflection extends UnexpectedValueException { public static function fromReflectionClass(ReflectionClass $class): self { $type = 'class'; if ($class->isTrait()) { $type = 'trait'; } return new self(sprintf('Provided node "%s" is not interface, but "%s"', $class->getName(), $type)); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings