UploadPhotosRequest
extends StoreRequest
in package
Class UpdateRequest.
Table of Contents
Methods
- rules() : array<string, mixed>
- Get the validation rules that apply to the request.
- validated() : mixed
- handleAlbumItems() : array<int, array<string, mixed>>
- handlePrivacy() : array<string, mixed>
Methods
rules()
Get the validation rules that apply to the request.
public
rules() : array<string, mixed>
Tags
Return values
array<string, mixed>validated()
public
validated([mixed $key = null ][, mixed $default = null ]) : mixed
Parameters
- $key : mixed = null
- $default : mixed = null
handleAlbumItems()
protected
handleAlbumItems(array<string, mixed> $items[, User|null $context = null ][, User|null $owner = null ]) : array<int, array<string, mixed>>
Parameters
Return values
array<int, array<string, mixed>>handlePrivacy()
protected
handlePrivacy(array<string, mixed> $data) : array<string, mixed>
Parameters
- $data : array<string, mixed>