Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
23 | class StringResourceResolver implements ResolverInterface |
||
24 | { |
||
25 | /** |
||
26 | * {@inheritDoc} |
||
27 | * |
||
28 | * @throws \InvalidArgumentException When a resource is not an object. |
||
29 | * @throws \Phauthentic\Authorization\Policy\Exception\MissingPolicyException When a policy for a resource has not been defined. |
||
30 | */ |
||
31 | public function getPolicy($resource) |
||
45 |