File path: dist/twist/Core/Utilities/Route.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
__construct
— Start up an instance of Routes, pass in the main domain name for the instance. Routes registered to this instance will only be served if the domain or IP matches those entered as an alias or main domain.
If null is passed in these routes will be served only if a domain/alias match has not been found.
Name | Description |
---|---|
[$strMainListener = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strMainListener = null;
//Call the function __construct with the example vars
Twist::Route() -> __construct($strMainListener);