Habari\XMLRPCStruct::__set PHP Method

__set() public method

This allows the following: $struct = new XMLRPCStruct(); $struct->foo = 'bar'; // This is done by __set() and assigns 'bar' into $this->fields['foo']
public __set ( string $name, mixed $value )
$name string The name of the property on this object to set
$value mixed The value to set in the property
    public function __set($name, $value)
    {
        $this->fields[$name] = $value;
    }