RouteMatcherInterface.php 405 B

12345678910111213141516
  1. <?php
  2. namespace Knuckles\Scribe\Matching;
  3. interface RouteMatcherInterface
  4. {
  5. /**
  6. * Resolve matched routes that should be documented.
  7. *
  8. * @param array $routeRules Route rules defined under the "routes" section in config
  9. * @param string $router
  10. *
  11. * @return MatchedRoute[]
  12. */
  13. public function getRoutes(array $routeRules = [], string $router = 'laravel'): array;
  14. }