Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 12 | All time: 11,400 This week: 673 |
Version | License | PHP version | Categories | |||
waymaker 1.0 | GNU General Publi... | 5 | HTTP, PHP 5, Parsers |
Description | Author | |
This class can parse the request route path to extract its parameters. |
It is used to separate the way and parameters.
data:
$str = 'app/controller:insert@redirect';
// $str = 'app/controller:insert';
// $str = 'app/controller';
Out-of-class use:
code:
require_once('Mind.php');
$m = new Mind();
print_r($m::aliyilmaz('wayMaker')->wayMaker($str));
When using it in the class:
code:
print_r(self::aliyilmaz('wayMaker')->wayMaker($str));
output:
Array
(
[way] => app/controller
[params] => Array
(
[0] => insert
[1] => redirect
)
)
This package has no dependencies.
Instructions and files in this directory are shared under the GPL3 license.
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.