MetaFox

MaxFileUpload
in package
implements Rule

Table of Contents

Interfaces

Rule

Properties

$maxUploadSize  : float

Methods

getMaxUploadSize()  : float
message()  : string
passes()  : bool

Properties

Methods

getMaxUploadSize()

public getMaxUploadSize(UploadedFile $file) : float
Parameters
$file : UploadedFile
Return values
float

message()

public message() : string
Tags
inheritDoc
Return values
string

passes()

public passes(mixed $attribute, mixed $value) : bool
Parameters
$attribute : mixed
$value : mixed
Tags
inheritDoc
throws
ValidationException
Return values
bool

        
On this page

Search results