src/PHPHtmlParser/Dom/Tag.php
public function getAttributes()
    {
        $return = [];
        foreach ($this->attr as $attr => $info) {
            $return[$attr] = $this->getAttribute($attr);
        }

        return $return;
    }
public function getAttributes()
    {
        $return = [];
        foreach ($this->attr as $attr => $info) {
            $return[$attr] = $this->getAttribute($attr);
        }

        return $return;
    }
public function getAttributes ( ) { $ return = [ ] ; foreach ( $ this -> attr as $ attr => $ info ) { $ return [ $ attr ] = $ this -> getAttribute ( $ attr ) ; } return $ return ; }
Returns all attributes of this tag.

@return array
Returns all attributes of this tag .