xeoncross/micromvc

public function route($path) { }

Opened this issue · 0 comments

Theoretically, we can have a router
request this form site.com/ / slug1 / / / slug2 / slug3 / / / slug4 / / / slug5/slug6 / / / slug7 /

appropriate to hold two operations

public function route($path) {
$path = array_filter(explode('/',$path));
}

result

Array
(
[2] => slug1
[5] => slug2
[8] => slug3
[11] => slug4
[14] => slug5
[15] => slug6
[18] => slug7
)

with whom to work on