Strata\Router\RouteParser\Route

A route is an object that can be mapped out to a MVC request.

    Synopsis

    class Route {
    }

    Members

    private

    • $executionStart — integer

    protected

    • $cancelled — boolean
    • $directExecution

    public

    Methods

    protected

    public

    • addPossibilities() — Adds a mixed type of possibility against which the route will be validating during the process() step.
    • attemptCompletion()
    • cancel() — Cancels the current route process.
    • end() — Ends the handling of the route.
    • isCancelled() — Specifies whether the current route has been canceled.
    • isValid() — Verifies that the current values can be ran by the router.
    • process() — This is the entry point of all routers. The inheriting classes will handle how they handle the management of their route type from this function.
    • setDirectExecution()
    • start() — Starts the handling of the route.