function InvalidArgumentException::fromAbstractClass
@phpstan-param ReflectionClass<T> $reflectionClass
@template T of object
1 call to InvalidArgumentException::fromAbstractClass()
- Instantiator::getReflectionClass in vendor/
doctrine/ instantiator/ src/ Doctrine/ Instantiator/ Instantiator.php - @phpstan-param class-string<T> $className
File
-
vendor/
doctrine/ instantiator/ src/ Doctrine/ Instantiator/ Exception/ InvalidArgumentException.php, line 37
Class
- InvalidArgumentException
- Exception for invalid arguments provided to the instantiator
Namespace
Doctrine\Instantiator\ExceptionCode
public static function fromAbstractClass(ReflectionClass $reflectionClass) : self {
return new self(sprintf('The provided class "%s" is abstract, and cannot be instantiated', $reflectionClass->getName()));
}