mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 08:47:52 +00: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.
|
* 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\SimpleRouter\RouterGroup;
|
||||||
use Pecee\Router\RouterRoute;
|
use Pecee\SimpleRouter\RouterRoute;
|
||||||
use Pecee\Router\Router;
|
use Pecee\SimpleRouter\Router;
|
||||||
|
|
||||||
class SimpleRouter {
|
class SimpleRouter {
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace Pecee\Router;
|
namespace Pecee\SimpleRouter;
|
||||||
|
|
||||||
class Router {
|
class Router {
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Pecee\Router;
|
namespace Pecee\SimpleRouter;
|
||||||
|
|
||||||
abstract class RouterEntry {
|
abstract class RouterEntry {
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace Pecee\Router;
|
namespace Pecee\SimpleRouter;
|
||||||
class RouterException extends \Exception { }
|
class RouterException extends \Exception { }
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Pecee\Router;
|
namespace Pecee\SimpleRouter;
|
||||||
|
|
||||||
class RouterGroup extends RouterEntry {
|
class RouterGroup extends RouterEntry {
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Pecee\Router;
|
namespace Pecee\SimpleRouter;
|
||||||
|
|
||||||
use Pecee\Registry;
|
use Pecee\Registry;
|
||||||
use Pecee\Router;
|
use Pecee\Router;
|
||||||
|
|||||||
Reference in New Issue
Block a user