/** * @return array */ public function getAttributes() { $attributes = parent::getAttributes(); return array_merge($attributes, $this->extraAttributes); }