only([ 'long', 'short', ])->toArray(); } /** * Rename fields to be more clear in error messages. * * @return array */ public function attributes() { return [ 'long' => 'Location Description', 'short' => 'Location Identifier', ]; } }