protected $appends = [ 'fullName' ]; public function getFullNameAttribute() { return $this->firstName . ' ' . $this->lastName; }
protected $appends = [ 'fullName' ]; public function getFullNameAttribute() { return $this->firstName . ' ' . $this->lastName; }