mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02:00
Move Permission Set over to DDD
- Add Permission Set Repository, Model and Collection - Mark static PermissionSet method as deprecated
This commit is contained in:
parent
5ab898f67f
commit
1c50bc58e4
5 changed files with 184 additions and 61 deletions
|
@ -284,6 +284,14 @@ abstract class DI
|
|||
return self::$dice->create(Repository\Introduction::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Repository\PermissionSet
|
||||
*/
|
||||
public static function permissionSet()
|
||||
{
|
||||
return self::$dice->create(Repository\PermissionSet::class);
|
||||
}
|
||||
|
||||
//
|
||||
// "Protocol" namespace instances
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue