Permission
in package
Class Permission
Table of Contents
- $deletingGranted : bool
- $groupId : GroupId
- $readingGranted : bool
- $writingGranted : bool
- create() : Permission
- deletingGranted() : bool
- groupId() : int
- readingGranted() : bool
- writingGranted() : bool
- __construct() : mixed
- Permission constructor.
Properties
$deletingGranted
private
bool
$deletingGranted
$groupId
private
GroupId
$groupId
$readingGranted
private
bool
$readingGranted
$writingGranted
private
bool
$writingGranted
Methods
create()
public
static create(GroupId $groupId, bool $readingGranted, bool $writingGranted, bool $deletingGranted) : Permission
Parameters
- $groupId : GroupId
- $readingGranted : bool
- $writingGranted : bool
- $deletingGranted : bool
Return values
Permission —deletingGranted()
public
deletingGranted() : bool
Return values
bool —groupId()
public
groupId() : int
Return values
int —readingGranted()
public
readingGranted() : bool
Return values
bool —writingGranted()
public
writingGranted() : bool
Return values
bool —__construct()
Permission constructor.
private
__construct(GroupId $groupId, bool $readingGranted, bool $writingGranted, bool $deletingGranted) : mixed
Parameters
- $groupId : GroupId
- $readingGranted : bool
- $writingGranted : bool
- $deletingGranted : bool