|
Bristol SU Support Package
|


Public Member Functions | |
| evaluate (Logic $logic, $userModel=null, $groupModel=null, $roleModel=null) | |
Test if the given resources are in a logic group
Definition at line 17 of file LogicTester.php.
| BristolSU\Support\Logic\LogicTester::evaluate | ( | Logic | $logic, |
$userModel = null, |
|||
$groupModel = null, |
|||
$roleModel = null |
|||
| ) |
Test if the given resources are in a logic group
| Logic | $logic | Logic group to test |
| null | User | $userModel | The user model to test the logic group with |
| null | Group | $groupModel | The group model to test the logic group with |
| null | Role | $roleModel | The role model to test the logic group with |
Implements BristolSU\Support\Logic\Contracts\LogicTester.
Definition at line 30 of file LogicTester.php.
References BristolSU\Support\Logic\Logic\allFalseFilters(), BristolSU\Support\Logic\Logic\allTrueFilters(), BristolSU\Support\Logic\Logic\anyFalseFilters(), and BristolSU\Support\Logic\Logic\anyTrueFilters().
Referenced by BristolSU\Support\Logic\Audience\AudienceMember\filterForLogic().
1.8.13