diff --git a/phpunit.xml b/phpunit.xml index e3e990e..e52954f 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,21 +1,16 @@ - - - - ./tests - - - - + + + + ./tests + + + + ./src - - - - - - \ No newline at end of file + + + + + + diff --git a/src/Router.php b/src/Router.php index 015ee82..9544927 100644 --- a/src/Router.php +++ b/src/Router.php @@ -9,6 +9,7 @@ use MiladRahimi\PhpRouter\Exceptions\RouteNotFoundException; use MiladRahimi\PhpRouter\Services\HttpPublisher; use MiladRahimi\PhpRouter\Services\PublisherInterface; +use MiladRahimi\PhpRouter\Values\Route; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use ReflectionException; diff --git a/src/Route.php b/src/Values/Route.php similarity index 98% rename from src/Route.php rename to src/Values/Route.php index a6da094..f5858a7 100644 --- a/src/Route.php +++ b/src/Values/Route.php @@ -1,6 +1,6 @@