public function attribute($attribute, $value) { $this->setAttribute($attribute, $value); return $this; }