mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-16 18:50:11 +03:00
[TASK] Updated
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
* This class is added so calls can be made staticly like Router::get() making the code look more pretty.
|
||||
*/
|
||||
|
||||
namespace Pecee\SimpleRouter;
|
||||
namespace Pecee;
|
||||
|
||||
use Pecee\Router\RouterGroup;
|
||||
use Pecee\Router\RouterRoute;
|
||||
use Pecee\Router\Router;
|
||||
use Pecee\SimpleRouter\RouterGroup;
|
||||
use Pecee\SimpleRouter\RouterRoute;
|
||||
use Pecee\SimpleRouter\Router;
|
||||
|
||||
class SimpleRouter {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace Pecee\Router;
|
||||
namespace Pecee\SimpleRouter;
|
||||
|
||||
class Router {
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Pecee\Router;
|
||||
namespace Pecee\SimpleRouter;
|
||||
|
||||
abstract class RouterEntry {
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<?php
|
||||
namespace Pecee\Router;
|
||||
namespace Pecee\SimpleRouter;
|
||||
class RouterException extends \Exception { }
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Pecee\Router;
|
||||
namespace Pecee\SimpleRouter;
|
||||
|
||||
class RouterGroup extends RouterEntry {
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Pecee\Router;
|
||||
namespace Pecee\SimpleRouter;
|
||||
|
||||
use Pecee\Registry;
|
||||
use Pecee\Router;
|
||||
|
||||
Reference in New Issue
Block a user