FileData
Table of Contents
Methods
-
__construct()
: mixed
-
getContentType()
: string
-
getHeight()
: int
-
getName()
: string
-
getSize()
: int
-
getWidth()
: int
-
isImage()
: bool
-
isVideo()
: bool
-
setHeight()
: void
-
setName()
: void
-
setWidth()
: void
__construct()
public
__construct(string $name, string $contentType, int $size) : mixed
Parameters
-
$name
: string
-
-
$contentType
: string
-
-
$size
: int
-
getContentType()
public
getContentType() : string
getHeight()
public
getHeight() : int
getName()
public
getName() : string
getSize()
public
getSize() : int
getWidth()
public
getWidth() : int
isImage()
public
isImage() : bool
isVideo()
public
isVideo() : bool
setHeight()
public
setHeight(int $height) : void
Parameters
-
$height
: int
-
setName()
public
setName(string $name) : void
Parameters
-
$name
: string
-
setWidth()
public
setWidth(int $width) : void
Parameters
-
$width
: int
-