<?php
require "vendor/autoload.php";
use Dumbo\Dumbo;
use Dumbo\Helpers\Logger;
$app = new Dumbo();
$app->use(Logger::logger());
I do think there's an issue with 404 routes and that those won't be matched so there might need to be some updates to findRoute to render run middleware too.
I was thinking we could do something like this:
Which means it can be used like this:
I do think there's an issue with
404
routes and that those won't be matched so there might need to be some updates tofindRoute
to render run middleware too.