Final Class Yiisoft\FormModel\Exception\PropertyNotSupportNestedValuesException
| Inheritance | Yiisoft\FormModel\Exception\PropertyNotSupportNestedValuesException » Yiisoft\FormModel\Exception\ValueNotFoundException » InvalidArgumentException |
|---|
Thrown when the property doesn't support nested values.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\FormModel\Exception\PropertyNotSupportNestedValuesException | |
| getValue() | Yiisoft\FormModel\Exception\PropertyNotSupportNestedValuesException |
Method Details
| public mixed __construct ( string $property, mixed $value ) | ||
| $property | string |
Name of the property. |
| $value | mixed | |
public function __construct(
string $property,
private readonly mixed $value,
) {
parent::__construct('Property "' . $property . '" doesn\'t support nested values.');
}
Signup or Login in order to comment.