0 follower

Final Class Yiisoft\Hydrator\Exception\AbstractClassException

InheritanceYiisoft\Hydrator\Exception\AbstractClassException » Yiisoft\Hydrator\Exception\NonInstantiableException » LogicException

Thrown when an abstract class is attempted to be instantiated.

Method Details

Hide inherited methods

__construct() public method

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(),
        ),
    );
}