public function getAttribute($name) { return $this->_attributes ? $this->_attributes->itemAt($name) : null; }