src/Shared/Attribute/AttributeTrait.php
public function getAttribute(/*# string */ $attrName)
    {
        if (isset($this->attributes[(string) $attrName])) {
            return $this->attributes[(string) $attrName];
        }
        return null;
    }
public function getAttribute(/*# string */ $attrName)
    {
        if (isset($this->attributes[(string) $attrName])) {
            return $this->attributes[(string) $attrName];
        }
        return null;
    }
{@inheritDoc}