Statable
extends
Stream
in
Interface \Hoa\Stream\IStream\Statable.
Interface for statable input/output.
Tags
Table of Contents
Constants
- SIZE_UNDEFINED = -1
- Size is undefined.
Methods
- clearAllStatisticCaches() : void
- Clear all files status cache.
- clearStatisticCache() : void
- Clear file status cache.
- getATime() : int
- Get last access time of file.
- getCTime() : int
- Get inode change time of file.
- getGroup() : int
- Get file group.
- getMTime() : int
- Get file modification time.
- getOwner() : int
- Get file owner.
- getPermissions() : int
- Get file permissions.
- getSize() : int
- Get size.
- getStatistic() : array<string|int, mixed>
- Get informations about a file.
- getStream() : resource
- Get the current stream.
- isExecutable() : bool
- Check if the file is executable.
- isReadable() : bool
- Check if the file is readable.
- isWritable() : bool
- Check if the file is writable.
Constants
SIZE_UNDEFINED
Size is undefined.
public
mixed
SIZE_UNDEFINED
= -1
Tags
Methods
clearAllStatisticCaches()
Clear all files status cache.
public
static clearAllStatisticCaches() : void
clearStatisticCache()
Clear file status cache.
public
clearStatisticCache() : void
getATime()
Get last access time of file.
public
getATime() : int
Return values
intgetCTime()
Get inode change time of file.
public
getCTime() : int
Return values
intgetGroup()
Get file group.
public
getGroup() : int
Return values
intgetMTime()
Get file modification time.
public
getMTime() : int
Return values
intgetOwner()
Get file owner.
public
getOwner() : int
Return values
intgetPermissions()
Get file permissions.
public
getPermissions() : int
Return values
intgetSize()
Get size.
public
getSize() : int
Return values
intgetStatistic()
Get informations about a file.
public
getStatistic() : array<string|int, mixed>
Return values
array<string|int, mixed>getStream()
Get the current stream.
public
getStream() : resource
Return values
resourceisExecutable()
Check if the file is executable.
public
isExecutable() : bool
Return values
boolisReadable()
Check if the file is readable.
public
isReadable() : bool
Return values
boolisWritable()
Check if the file is writable.
public
isWritable() : bool