0 follower

Final Class Yiisoft\FormModel\Exception\PropertyNotSupportNestedValuesException

InheritanceYiisoft\FormModel\Exception\PropertyNotSupportNestedValuesException » Yiisoft\FormModel\Exception\ValueNotFoundException » InvalidArgumentException

Thrown when the property doesn't support nested values.

Method Details

Hide inherited methods

__construct() public method

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.');
}

            
getValue() public method

public mixed getValue ( )

                public function getValue(): mixed
{
    return $this->value;
}