Total Complexity | 1 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | class StatusIsNew implements AssertionInterface |
||
14 | { |
||
15 | /** |
||
16 | * Assert that the expense claim is new (not processed yet) |
||
17 | * |
||
18 | * @param Acl $acl |
||
19 | * @param RoleInterface $role |
||
20 | * @param ResourceInterface $resource |
||
21 | * @param string $privilege |
||
22 | * |
||
23 | * @return bool |
||
24 | */ |
||
25 | 6 | public function assert(Acl $acl, RoleInterface $role = null, ResourceInterface $resource = null, $privilege = null) |
|
32 |