-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2.0... Enhanced Router features. Added Request & Response support vi…
…a Symfony components. Updated middlewares and a lot of code optimization.
- Loading branch information
Showing
8 changed files
with
648 additions
and
544 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace Buki\Http; | ||
|
||
abstract class Controller extends Http | ||
{ | ||
/** | ||
* @var array Before Middlewares | ||
*/ | ||
public $middlewareBefore = []; | ||
|
||
/** | ||
* @var array After Middlewares | ||
*/ | ||
public $middlewareAfter = []; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace Buki\Http; | ||
|
||
abstract class Http | ||
{ | ||
// | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace Buki\Http; | ||
|
||
abstract class Middleware extends Http | ||
{ | ||
// | ||
} |
Oops, something went wrong.