FileProps

Represents properties of a file on the file system.

package

Default

Methods

__construct

__construct() 

The date the file was created

creationTime() : integer

Response

integer

Is the file a directory?

isDirectory() : boolean

Response

boolean

Is the file some other type? (I.e. not a directory, regular file or symbolic link)

isOther() : boolean

Response

boolean

Is the file a regular file?

isRegularFile() : boolean

Response

boolean

The date the file was last accessed

lastAccessTime() : integer

Response

integer

The date the file was last modified

lastModifiedTime() : integer

Response

integer

The size of the file, in bytes

size() : integer

Response

integer