FileStatus
Read onlyYes
FinalYes
Properties
- $lastModifiedAt : DateTimeImmutable|null
- $path : Path
- $size : int|null
Methods
- __construct() : mixed
- isDirectory() : bool
- isFile() : bool
Properties
$lastModifiedAt
public
DateTimeImmutable|null
$lastModifiedAt
= null
$path
public
Path
$path
$size
public
int|null
$size
= null
Methods
__construct()
public
__construct(Path $path, bool $isFile[, int|null $size = null ][, DateTimeImmutable|null $lastModifiedAt = null ]) : mixed
Parameters
- $path : Path
- $isFile : bool
- $size : int|null = null
- $lastModifiedAt : DateTimeImmutable|null = null
isDirectory()
public
isDirectory() : bool
Return values
boolisFile()
public
isFile() : bool