Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Permission.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\attributes\items\acl
;
4
5
use Attribute;
6
use
Ubiquity\annotations\BaseAnnotationTrait
;
7
use
Ubiquity\attributes\items\BaseAttribute
;
8
21
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
22
class
Permission
extends
BaseAttribute
,
BaseAnnotationTrait
{
23
24
public
string
|
int
|
null
$name
;
25
26
public
?
int
$level
;
27
33
public
function
__construct
(
string
|
int
$name
, ?
int
$level
= 0) {
34
$this->name =
$name
;
35
$this->level =
$level
;
36
}
37
38
39
}
Ubiquity\annotations\BaseAnnotationTrait
Ubiquity\annotations$BaseAnnotationTrait This class is part of Ubiquity.
Definition
BaseAnnotationTrait.php:13
Ubiquity\attributes\items\BaseAttribute
Ubiquity\attributes$BaseAttribute This class is part of Ubiquity.
Definition
BaseAttribute.php:15
Ubiquity\attributes\items\acl\Permission
Attribute Permission.
Definition
Permission.php:22
Ubiquity\attributes\items\acl\Permission\$level
int $level
Definition
Permission.php:26
Ubiquity\attributes\items\acl\Permission\__construct
__construct(string|int $name, ?int $level=0)
Permission constructor.
Definition
Permission.php:33
Ubiquity\attributes\items\acl\Permission\$name
string int null $name
Definition
Permission.php:24
Ubiquity\attributes\items\acl
Definition
Allow.php:3
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity-attributes
src
Ubiquity
attributes
items
acl
Permission.php
Generated on Sun Dec 10 2023 15:04:01 for
Ubiquity
by
doxygen
1.9.8