MaxFileUpload
implements
Rule
Table of Contents
Interfaces
- Rule
Properties
-
$maxUploadSize
: float
Methods
-
getMaxUploadSize()
: float
-
message()
: string
-
passes()
: bool
$maxUploadSize
private
float
$maxUploadSize
= 0
getMaxUploadSize()
public
getMaxUploadSize(UploadedFile $file) : float
Parameters
-
$file
: UploadedFile
-
message()
public
message() : string
-
inheritDoc
-
passes()
public
passes(mixed $attribute, mixed $value) : bool
Parameters
-
$attribute
: mixed
-
-
$value
: mixed
-
-
inheritDoc
-
-
throws
-
ValidationException