TwistPHP Documentation


File path: dist/twist/Core/Utilities/Route.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

disableDisable this instance of routes from being served, this can be used as a temporary measure if you need to stop a particular domain from being served.

Return Values

void — No return information has been documented for this function.


//Call the function disable with the example vars
Twist::Route() -> disable();