111
This commit is contained in:
@@ -430,6 +430,8 @@ class Router extends HttpService implements RouterInterface
|
|||||||
$paths = [];
|
$paths = [];
|
||||||
foreach ($this->nodes as $node) {
|
foreach ($this->nodes as $node) {
|
||||||
/** @var Node[] $node */
|
/** @var Node[] $node */
|
||||||
|
|
||||||
|
var_dump($node);
|
||||||
foreach ($node as $_node) {
|
foreach ($node as $_node) {
|
||||||
if (!empty($_node->sourcePath)) {
|
if (!empty($_node->sourcePath)) {
|
||||||
$path[] = ['method' => $_node->method, 'path' => $_node->sourcePath];
|
$path[] = ['method' => $_node->method, 'path' => $_node->sourcePath];
|
||||||
|
|||||||
Reference in New Issue
Block a user