0 follower

Final Class Yiisoft\Rbac\Exception\RuleInterfaceNotImplementedException

InheritanceYiisoft\Rbac\Exception\RuleInterfaceNotImplementedException » Exception

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( string $name, integer $code 0, Throwable|null $previous null )
$name string
$code integer
$previous Throwable|null

                public function __construct(string $name, int $code = 0, ?Throwable $previous = null)
{
    $interfaceName = RuleInterface::class;
    parent::__construct(
        "Rule \"$name\" must implement \"$interfaceName\".",
        $code,
        $previous,
    );
}