code: public function getAttribute(/*# string */ $attrName)
      {
          if (isset($this->attributes[(string) $attrName])) {
              return $this->attributes[(string) $attrName];
          }
          return null;
      }
docs: {@inheritDoc}