Pop\Form\Fields::__set PHP Method

__set() public method

Set method to set the property to the value of fields[$name].
public __set ( string $name, mixed $value ) : void
$name string
$value mixed
return void
    public function __set($name, $value)
    {
        $this->fields[$name] = $value;
    }