FluentDOM\Query\Attributes::offsetSet PHP Method

offsetSet() public method

Set the attribute on all selected element nodes
See also: ArrayAccess::offsetSet()
See also: FluentDOM::attr()
public offsetSet ( string $name, string $value )
$name string
$value string
    public function offsetSet($name, $value)
    {
        $this->_fd->attr($name, $value);
    }