$category
$category : mixed|\Charcoal\Object\CategoryInterface
The category the object belongs to.
A permission is a simple string, that can be read with additional data (name + category) from storage.
$category : mixed|\Charcoal\Object\CategoryInterface
The category the object belongs to.
setCategoryType(string $type) : \Charcoal\Object\CategorizableInterface
Set the type of category the object can belong to.
string | $type | The category type. |
If the type argument is not a string.
Chainable
setCategory(mixed $category) : \Charcoal\Object\CategorizableInterface
Set the category the object belongs to.
mixed | $category | The object's category. |
Chainable
setIdent(string $ident) : \Charcoal\User\Acl\Permission
string | $ident | The permission identifier. |
If the ident is not a string.
Chainable
setName(mixed $name) : \Charcoal\User\Acl\Permission
mixed | $name | The permission name / label. |
Chainable