| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | interface SecurityHandlerInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @param string|array $attributes |
||
| 25 | * @param mixed|null $object |
||
| 26 | * |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | public function isGranted(AdminInterface $admin, $attributes, $object = null); |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Get a sprintf template to get the role. |
||
| 33 | * |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getBaseRole(AdminInterface $admin); |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return array<string, mixed> |
||
|
|
|||
| 40 | */ |
||
| 41 | public function buildSecurityInformation(AdminInterface $admin); |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Create object security, fe. make the current user owner of the object. |
||
| 45 | * |
||
| 46 | * @param object $object |
||
| 47 | */ |
||
| 48 | public function createObjectSecurity(AdminInterface $admin, $object); |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Remove object security. |
||
| 52 | * |
||
| 53 | * @param object $object |
||
| 54 | */ |
||
| 55 | public function deleteObjectSecurity(AdminInterface $admin, $object); |
||
| 56 | } |
||
| 57 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.