Final Class Yiisoft\Yii\Gii\Validator\ClassExistsRule
| Inheritance | Yiisoft\Yii\Gii\Validator\ClassExistsRule |
|---|---|
| Implements | Yiisoft\Validator\RuleInterface |
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $parent | ?string | Yiisoft\Yii\Gii\Validator\ClassExistsRule |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Yii\Gii\Validator\ClassExistsRule | |
| getHandler() | Yiisoft\Yii\Gii\Validator\ClassExistsRule |
Property Details
Method Details
| public mixed __construct ( class-string|null $parent = null ) | ||
| $parent | class-string|null |
Parent class name or interface to check against. |
public function __construct(
public readonly ?string $parent = null,
) {}
| public string|\Yiisoft\Validator\RuleHandlerInterface getHandler ( ) |
public function getHandler(): string|RuleHandlerInterface
{
return ClassExistsHandler::class;
}
Signup or Login in order to comment.