StoreVolumeMetadata
class StoreVolumeMetadata extends FormRequest
Properties
| Volume | $volume | The volume to store the new metadata to. |
|
| VolumeMetadata | $metadata | The volume metadata after validation. |
Methods
bool
authorize()
Determine if the user is authorized to make this request.
array
rules()
Get the validation rules that apply to the request.
void
withValidator(Validator $validator)
Configure the validator instance.
bool
metadataMatchesVolume()
Determine if at least one file of the metadata matches a file of the volume.
Details
at line 33
bool
authorize()
Determine if the user is authorized to make this request.
at line 45
array
rules()
Get the validation rules that apply to the request.
at line 71
void
withValidator(Validator $validator)
Configure the validator instance.
at line 114
protected bool
metadataMatchesVolume()
Determine if at least one file of the metadata matches a file of the volume.
Files in the metadata that don't exist in the volume are ignored, but a metadata file without any match most likely belongs to a different volume.