PermissionRepository
interface PermissionRepository
Interface PermissionRepository
Methods
findByName(string $siteKey, string $name)
Find a registered by type and name
int
array
fetchAncestor(string $siteKey, string $name)
Returns ancestor of item
array
fetchDescendant(string $siteKey, string $name)
Returns descendant of item
void
void
Details
at line 36
Permission
findByName(string $siteKey, string $name)
Find a registered by type and name
at line 44
Permission
insert(Permission $item)
Insert register information
at line 52
Permission
update(Permission $item)
Update register information
at line 60
int
delete(Permission $item)
Delete register information
at line 69
array
fetchAncestor(string $siteKey, string $name)
Returns ancestor of item
at line 78
array
fetchDescendant(string $siteKey, string $name)
Returns descendant of item
at line 87
void
foster(Permission $item, string $to)
Parent Changing with descendant
at line 96
void
affiliate(Permission $item, string $to)
affiliated to another registered