tag.php
public function getAttribute($label)
    {
        $label = strtolower($label);
        if (! isset($this->attributes[$label])) {
            return false;
        }

        return (string) $this->attributes[$label];
    }
public function getAttribute($label)
    {
        $label = strtolower($label);
        if (! isset($this->attributes[$label])) {
            return false;
        }

        return (string) $this->attributes[$label];
    }
Accessor for an attribute.

@param string $label    Attribute name.

@return string          Attribute value.