File
in package
Table of Contents
Properties
- $basename : string
- Basename of current file
- $dirname : string
- Name of directory path
- $extension : string
- File extension of current file
- $filename : string
- File name of current file
- $mime : string
- Mime type
Methods
- basePath() : string
- Get fully qualified path
- filesize() : mixed
- Get file size
- setFileInfoFromPath() : mixed
- Sets all instance properties from given path
Properties
$basename
Basename of current file
public
string
$basename
$dirname
Name of directory path
public
string
$dirname
$extension
File extension of current file
public
string
$extension
$filename
File name of current file
public
string
$filename
$mime
Mime type
public
string
$mime
Methods
basePath()
Get fully qualified path
public
basePath() : string
Return values
stringfilesize()
Get file size
public
filesize() : mixed
setFileInfoFromPath()
Sets all instance properties from given path
public
setFileInfoFromPath(string $path) : mixed
Parameters
- $path : string