File path: dist/twist/Core/Utilities/Route.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
aliasDomain
— Add an alias domain or IP address to listen on, routes registered to this instance will only be served if the domain or IP matches those entered as an alias or main domain.
Name | Description |
---|---|
$strAliasListener | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strAliasListener = 'foo';
//Call the function aliasDomain with the example vars
Twist::Route() -> aliasDomain($strAliasListener);