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