MetaFox

UpdateRequest extends StoreRequest
in package

Class UpdateRequest.

Table of Contents

Constants

MAX_AMOUNT_DIGITS  = 7
MIN_AMOUNT_DIGITS  = 1

Methods

rules()  : array<string, mixed>
Get the validation rules that apply to the request.
validated()  : mixed
applyFileRule()  : array<string, mixed>
handleFileData()  : array<string, mixed>

Constants

Methods

rules()

Get the validation rules that apply to the request.

public rules() : array<string, mixed>
Return values
array<string, mixed>

validated()

public validated([mixed $key = null ][, mixed $default = null ]) : mixed
Parameters
$key : mixed = null
$default : mixed = null

applyFileRule()

protected applyFileRule(array<string, mixed> $rules) : array<string, mixed>
Parameters
$rules : array<string, mixed>
Return values
array<string, mixed>

handleFileData()

protected handleFileData(array<string, mixed> $data) : array<string, mixed>
Parameters
$data : array<string, mixed>
Return values
array<string, mixed>

        
On this page

Search results