1 | <?php |
||
12 | final class Anchor implements AnchorInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var Reader |
||
16 | */ |
||
17 | private $reader; |
||
18 | |||
19 | 49 | public function __construct(Reader $reader) |
|
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | * |
||
27 | * @throws LinkException |
||
28 | */ |
||
29 | 5 | public function href(string $rel, AbstractRequest $request, array $query) : array |
|
41 | |||
42 | 5 | private function isValidLinkAnnotation(object $annotation, string $rel) : bool |
|
46 | |||
47 | 4 | /** |
|
48 | * @param array<string, mixed> $query |
||
49 | 4 | * |
|
50 | 4 | * @return array{0:string, 1:string} |
|
|
|||
51 | 4 | */ |
|
52 | private function getMethodUri(AbstractRequest $request, array $query, LinkAnnotation $annotation) : array |
||
60 | } |
||
61 |
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.