TwistPHP Documentation


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

aliasDomainAdd 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 Type Description

Return Values

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


//Set the variables for the example
$strAliasListener 'foo';

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