| 
    Bristol SU Support Package
    
   | 
 

Public Member Functions | |
| evaluate (Logic $logic, $userModel=null, $groupModel=null, $roleModel=null) | |
Test a set of resources against a logic group
Definition at line 13 of file LogicTester.php.
| BristolSU\Support\Logic\Contracts\LogicTester::evaluate | ( | Logic | $logic, | 
$userModel = null,  | 
        |||
$groupModel = null,  | 
        |||
$roleModel = null  | 
        |||
| ) | 
See if the given resources together are in the logic group
| Logic | $logic | Logic group to test | 
| null | User | $userModel | User to test in the logic group | 
| null | Group | $groupModel | Group to test in the logic group | 
| null | Role | $roleModel | Role to test in the logic group | 
Implemented in BristolSU\Support\Testing\LogicTester\LogicTesterFake, and BristolSU\Support\Logic\LogicTester.
 1.8.13