Skip to content
This repository was archived by the owner on Feb 20, 2020. It is now read-only.

public function route($path) { } #32

@MrAndreius

Description

@MrAndreius

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions