mirror of
https://github.com/verdigado/organization_folders.git
synced 2024-12-06 11:22:41 +01:00
added occ commands to inspect organization providers, organizations and organization roles
This commit is contained in:
parent
21f3a39b06
commit
f85a93aa3a
11 changed files with 202 additions and 9 deletions
|
@ -57,7 +57,7 @@ abstract class OrganizationProvider {
|
|||
*
|
||||
* @return Organization[]
|
||||
*/
|
||||
abstract public function getSubOrganizations(?int $parentOrganizationId): array;
|
||||
abstract public function getSubOrganizations(?int $parentOrganizationId = null): array;
|
||||
|
||||
/**
|
||||
* Get a specific role by its id (must be unique within organization provider, not just within parent organization)
|
||||
|
@ -65,7 +65,7 @@ abstract class OrganizationProvider {
|
|||
* @return OrganizationRole
|
||||
* @throws OrganizationRoleNotFound
|
||||
*/
|
||||
abstract public function getRole(int $id): OrganizationRole;
|
||||
abstract public function getRole(string $id): OrganizationRole;
|
||||
|
||||
/**
|
||||
* Get all roles of a specific organization
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue