| 1 | <?php |
||
| 18 | class Extractor extends ApiDocExtractor |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Returns an array of data where each data is an array with the following keys: |
||
| 22 | * - annotation |
||
| 23 | * - resource |
||
| 24 | * |
||
| 25 | * @param array $routes array of Route-objects for which the annotations should be extracted |
||
| 26 | * @param string $view |
||
| 27 | * |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | public function extractAnnotations(array $routes, $view = 'default') |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Returns the ReflectionMethod for the given controller string. |
||
| 50 | * |
||
| 51 | * @param \ReflectionMethod|string $controller |
||
| 52 | * @return \ReflectionMethod|null |
||
| 53 | */ |
||
| 54 | public function getReflectionMethod($controller) |
||
| 62 | } |
||
| 63 |