Flow PHP

Permissions

Read onlyYes
FinalYes
Tags
type

PermissionsShape = array{file: int, directory: int}

Properties

$directory  : int
$file  : int

Methods

__construct()  : mixed
fromArray()  : self
normalize()  : PermissionsShape
private()  : self

Properties

Methods

__construct()

public __construct(int $file, int $directory) : mixed
Parameters
$file : int
$directory : int

fromArray()

public static fromArray(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>

the shape of normalize()

Tags
throws
InvalidArgumentException
Return values
self

normalize()

public normalize() : PermissionsShape
Return values
PermissionsShape

private()

public static private() : self
Return values
self
On this page

Search results