TwistPHP Documentation

serve

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

serveServe is used to active the routes system after all routes have been set

Parameters

Name Type Description
[$blExitOnComplete = true]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$blExitOnComplete true;

//Call the function serve with the example vars
Twist::Route() -> serve($blExitOnComplete);