@@ -48,6 +48,9 @@ |
||
48 | 48 | ; |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @param string $prefix |
|
53 | + */ |
|
51 | 54 | private function buildMethods(ResponseInterface $response, $prefix): array |
52 | 55 | { |
53 | 56 | $this->crawler->addHtmlContent($response->getBody()->getContents()); |
@@ -49,16 +49,25 @@ |
||
49 | 49 | return $this->getApi($method)->primary; |
50 | 50 | } |
51 | 51 | |
52 | + /** |
|
53 | + * @param \ReflectionMethod $method |
|
54 | + */ |
|
52 | 55 | public function isApi($method): bool |
53 | 56 | { |
54 | 57 | return (bool) $this->getApi($method); |
55 | 58 | } |
56 | 59 | |
60 | + /** |
|
61 | + * @param \ReflectionMethod $method |
|
62 | + */ |
|
57 | 63 | public function getDescription($method): string |
58 | 64 | { |
59 | 65 | return $this->docBlockFactory->create($this->getMethod($method))->getSummary(); |
60 | 66 | } |
61 | 67 | |
68 | + /** |
|
69 | + * @param \ReflectionMethod $method |
|
70 | + */ |
|
62 | 71 | public function getName($method): string |
63 | 72 | { |
64 | 73 | $reflection = $this->getMethod($method); |