TwistPHP Documentation

ServeRoutes

File path: dist/twist/Twist.php
Namespace: \
Extends:

ServeRoutesRun through all registered instances of the route object, check for domain name matches and serve the correct route accordingly.

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 ServeRoutes with the example vars
Twist::Twist() -> ServeRoutes($blExitOnComplete);