Security
in package
File system security properties.
Table of Contents
Properties
- $delete : bool
- $denied : bool
- $execute : bool
- $grant : bool
- $owner : string
- $read : bool
- $write : bool
- $flags : array<string|int, mixed>
- Access flags.
- $source : File|Directory|null
- The source (File or Directory).
Methods
- __construct() : mixed
- Constructor.
- __get() : mixed
- Get flags by magic method
- __set() : void
- Set flags by magic method
Properties
$delete
public
bool
$delete
Indicates if delete access is granted.
$denied
public
bool
$denied
Indicates if access is denied.
$execute
public
bool
$execute
Indicates if execute access is granted.
$grant
public
bool
$grant
Indicates if access is granted.
$owner
public
string
$owner
The owner of the file.
$read
public
bool
$read
Indicates if read access is granted.
$write
public
bool
$write
Indicates if write access is granted.
$flags
Access flags.
protected
array<string|int, mixed>
$flags
$source
The source (File or Directory).
protected
File|Directory|null
$source
= null
Methods
__construct()
Constructor.
public
__construct(File|Directory|null $source[, mixed $flags = null ]) : mixed
Parameters
__get()
Get flags by magic method
public
__get(string $property) : mixed
Parameters
- $property : string
-
The flag
__set()
Set flags by magic method
public
__set(string $property, mixed $value) : void
Parameters
- $property : string
-
The flag
- $value : mixed
-
The value.