v1.0.0
English

AutoRouterImproved.php

system/Router/AutoRouterImproved.php
1 class 15 methods

class AutoRouterImproved

New Secure Router for Auto-Routing
__construct (/** * List of controllers in Defined Routes that should not be accessed via this Auto-Routing. */ private readonly array $protectedControllers, string $namespace, private readonly string $defaultController, /** * The name of the default method without HTTP verb prefix. */ private readonly string $defaultMethod, /** * Whether dashes in URI's should be converted * to underscores when determining method names. */ private readonly bool $translateURIDashes, ) public
createSegments (string $uri) private
searchFirstController () private
searchLastDefaultController () private
getRoute (string $uri, string $httpVerb) public
getPos () public
setDirectory () private
protectDefinedRoutes () private
checkParameters () private
checkRemap () private
checkUnderscore () private
checkUriForController (string $classname) private
checkUriForMethod (string $method) private
isValidSegment (string $segment) private
translateURI (string $segment) private
phpDG v1.0.0 AutoRouterImproved.php 662 files 498 classes 763 fn
Generated