This commit is contained in:
Milos Stojanovic
2019-06-20 11:09:05 +02:00
parent e6395f769c
commit 82e0b1577c
6 changed files with 69 additions and 12 deletions

View File

@@ -16,15 +16,6 @@ use Filegator\Kernel\Request;
use Filegator\Services\Auth\AuthInterface;
use Filegator\Services\Service;
/**
* Uses unique query parameter to pass the route info
* Does not require rewrite rules, .htaccess or similar.
*
* Example routes:
*
* http://example.com/?r=/some/route&param1=val1&param2=val2
* http://example.com/?r=/user/{user_id}&param1=val1
*/
class Router implements Service
{
protected $request;