Final Class Yiisoft\Hydrator\Exception\AbstractClassException
| Inheritance | Yiisoft\ |
|---|
Thrown when an abstract class is attempted to be instantiated.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
Method Details
| public mixed __construct ( ReflectionClass $reflectionClass ) | ||
| $reflectionClass | ReflectionClass | |
public function __construct(ReflectionClass $reflectionClass)
{
parent::__construct(
sprintf(
'"%s" is not instantiable because it is abstract.',
$reflectionClass->getName(),
),
);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.