Extractor
class Extractor extends ApiDocExtractor
A class that finds the ApiDoc annotations in our controllers
Methods
array
extractAnnotations(array $routes, string $view = 'default')
Returns an array of data where each data is an array with the following keys: - annotation - resource
ReflectionMethod|null
getReflectionMethod(ReflectionMethod|string $controller)
Returns the ReflectionMethod for the given controller string.
Details
at line line 30
array
extractAnnotations(array $routes, string $view = 'default')
Returns an array of data where each data is an array with the following keys: - annotation - resource
at line line 54
ReflectionMethod|null
getReflectionMethod(ReflectionMethod|string $controller)
Returns the ReflectionMethod for the given controller string.