FluentDOM\Query\Attributes::offsetSet PHP Méthode

offsetSet() public méthode

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