Skip to content

Commit

Permalink
Public getData
Browse files Browse the repository at this point in the history
  • Loading branch information
ericktucto committed May 15, 2023
1 parent b2d82a8 commit 6edcaab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ public function prepareRoutes(ServerRequestInterface $request): void
$this->routesData = $this->routeCollector->getData();
}

public function getData(): array
{
return $this->routeCollector->getData();
}

protected function buildNameIndex(): void
{
foreach ($this->routes as $key => $route) {
Expand Down

0 comments on commit 6edcaab

Please sign in to comment.