From 8653bfa86f7b42af28ebb33a981e488af27c9d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Sessing=C3=B8?= Date: Fri, 6 Apr 2018 19:44:30 +0200 Subject: [PATCH] Development - Fixed 403 not allowed exception is now thrown as NotFoundHttpException. - Added REQUEST_TYPE_HEAD to Route class. - Minor optimizations. --- .idea/workspace.xml | 371 ++++++++++++------------ src/Pecee/Http/Input/InputHandler.php | 2 +- src/Pecee/SimpleRouter/Route/Route.php | 24 +- src/Pecee/SimpleRouter/Router.php | 10 +- src/Pecee/SimpleRouter/SimpleRouter.php | 14 +- 5 files changed, 208 insertions(+), 213 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 164610e..3cf5d38 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,7 +5,11 @@ + + + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -34,53 +71,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -88,8 +80,8 @@ - - + + @@ -97,11 +89,23 @@ + + + + + + + + + + + + - - + + @@ -109,36 +113,10 @@ - - - - - - - - - - - - - - - - - - - - - - set - hasParam - csrf_token - static function start - fireEvents( ->setUrl EVENT_LOAD addRoute @@ -157,13 +135,18 @@ matchRoute ->getValue ->find - function find + Req value( file( setUrl TODO input()->get + + REQUEST_TYPE_ + + setDebugEnabled + debugEnabled D:\Workspace\simple-php-router\src\Pecee\SimpleRouter\Route @@ -226,16 +209,16 @@ @@ -308,7 +291,6 @@ - @@ -378,10 +360,24 @@ + + + + + + + + + + + + +