kahlan\Given::__set PHP Method

__set() public method

Setter.
public __set ( string $key, mixed $value ) : mixed
$key string The name of the variable.
$value mixed The value of the variable.
return mixed The value of the variable.
    public function __set($key, $value)
    {
        return $this->_data[$key] = $value;
    }