TwistPHP Documentation

baseURI

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

baseURISet a base URI so that you can use routes in folders that are not your Doc Root

Parameters

Name Type Description
[$strBaseURI = null]stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strBaseURI null;

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