MetaFox

IndexRequest extends FormRequest
in package

Class IndexRequest.

Table of Contents

Constants

VIEW_ACTIVITY_POST  = \MetaFox\Activity\Models\Post::ENTITY_TYPE
VIEW_MEDIA  = 'media'

Methods

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

Constants

VIEW_ACTIVITY_POST

public mixed VIEW_ACTIVITY_POST = \MetaFox\Activity\Models\Post::ENTITY_TYPE

Methods

rules()

Get the validation rules that apply to the request.

public rules() : array<string, mixed>
Tags
SuppressWarnings

(PHPMD.NPathComplexity)

Return values
array<string, mixed>

validated()

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

        
On this page

Search results