|
Bristol SU Support Package
|

Public Member Functions | |
| newUser ($attributes=[]) | |
| newGroup ($attributes=[]) | |
| newRole ($attributes=[]) | |
| beGroup (Group $group) | |
| beRole (Role $role) | |
| beUser (User $user) | |
Trait for aiding interactions with the user/group/role system
Definition at line 14 of file HandlesAuthentication.php.
| BristolSU\Support\Testing\HandlesAuthentication::beGroup | ( | Group | $group | ) |
Set a group
| Group | $group |
Definition at line 57 of file HandlesAuthentication.php.
Referenced by BristolSU\Support\Testing\CreatesModuleEnvironment\setUpAuthentication().
| BristolSU\Support\Testing\HandlesAuthentication::beRole | ( | Role | $role | ) |
Set a role
| Role | $role |
Definition at line 69 of file HandlesAuthentication.php.
Referenced by BristolSU\Support\Testing\CreatesModuleEnvironment\setUpAuthentication().
| BristolSU\Support\Testing\HandlesAuthentication::beUser | ( | User | $user | ) |
Set a user
| User | $user |
Definition at line 82 of file HandlesAuthentication.php.
Referenced by BristolSU\Support\Testing\CreatesModuleEnvironment\setUpAuthentication().
| BristolSU\Support\Testing\HandlesAuthentication::newGroup | ( | $attributes = [] | ) |
Create a new control group
| array | $attributes | Attributes to use for the group |
Definition at line 34 of file HandlesAuthentication.php.
Referenced by BristolSU\Support\Testing\CreatesModuleEnvironment\setUpAuthentication().
| BristolSU\Support\Testing\HandlesAuthentication::newRole | ( | $attributes = [] | ) |
Create a new control role
| array | $attributes | Attributes to use for the role |
Definition at line 45 of file HandlesAuthentication.php.
Referenced by BristolSU\Support\Testing\CreatesModuleEnvironment\setUpAuthentication().
| BristolSU\Support\Testing\HandlesAuthentication::newUser | ( | $attributes = [] | ) |
Create a new control user
| array | $attributes | Attributes to use for the user |
Definition at line 23 of file HandlesAuthentication.php.
Referenced by BristolSU\Support\Testing\CreatesModuleEnvironment\setUpAuthentication().
1.8.13