| Total Complexity | 1 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class NullAuthProvider implements AuthInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Is the requester permitted to perform the requested action on the model class (and instance, if supplied)? |
||
| 16 | * |
||
| 17 | * @param ActionVerb $verb |
||
| 18 | * @param class-string|null $modelname Model class to access |
||
|
|
|||
| 19 | * @param Model|Relation|null $model Specific model or relation to access |
||
| 20 | * |
||
| 21 | * @return bool |
||
| 22 | */ |
||
| 23 | public function canAuth(ActionVerb $verb, $modelname, $model = null) |
||
| 28 |