Class Image
Check if the input is valid image
- Wei\Base
- Wei\Validator\BaseValidator
- Wei\Validator\File
- Wei\Validator\Image
Direct known subclasses
Wei\Upload
protected
boolean
|
__invoke(),
convertToArray(),
fromBytes(),
getExt(),
getMimeType(),
inMimeType(),
setExcludeExts(),
setExcludeMimeTypes(),
setExts(),
setMaxSize(),
setMimeTypes(),
setMinSize(),
toBytes()
|
__call(),
__construct(),
__get(),
getOption(),
setOption()
|
t()
|
protected
string
|
$notDetectedMessage
|
#
'%name% is not a valid image or the size of the image could not be detected'
|
protected
string
|
$widthTooBigMessage
|
#
'%name% width is too big (%width%px), allowed maximum width is %maxWidth%px'
|
protected
string
|
$widthTooSmallMessage
|
#
'%name% width is too small (%width%px), expected minimum width is %minWidth%px'
|
protected
string
|
$heightTooBigMessage
|
#
'%name% height is too big (%height%px), allowed maximum height is %maxHeight%px'
|
protected
string
|
$heightTooSmallMessage
|
#
'%name% height is too small (%height%px), expected minimum height is %minHeight%px'
|
protected
|
$maxWidth
|
|
protected
|
$minWidth
|
|
protected
|
$maxHeight
|
|
protected
|
$minHeight
|
|
protected
integer
|
$width
The detected width of image |
|
protected
integer
|
$height
The detected height of image |
$errors,
$name,
$negative,
$notStringMessage,
$validator
|
$providers,
$wei
|
$t
|