API Routers RouterHelpers - chsxf/mfx GitHub Wiki

RouterHelpers Class

chsxf\MFX\Routers

final class RouterHelpers

Summary

Since 1.0

Methods

check404file

public static function check404file(array $routeParams)

Checks if the request could be referring to a missing file and replies a 404 HTTP error code

Since 1.0

Parameters

Name Type Description
$routeParams array Request route parameters