Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Router.php #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions src/Bramus/Router/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,40 @@
*/
namespace Bramus\Router;

use ReflectionMethod;
use ReflectionException;

use function array_keys;
use function array_map;
use function array_slice;
use function boolval;
use function call_user_func;
use function call_user_func_array;
use function count;
use function explode;
use function forward_static_call_array;
use function function_exists;
use function header;
use function implode;
use function in_array;
use function is_callable;
use function is_null;
use function is_string;
use function ob_end_clean;
use function ob_start;
use function preg_match_all;
use function preg_replace;
use function rawurldecode;
use function rtrim;
use function str_replace;
use function stripos;
use function strlen;
use function strstr;
use function strtolower;
use function substr;
use function trim;
use function ucwords;

/**
* Class Router.
*/
Expand Down