File path: dist/twist/Core/Utilities/Route.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
setDirectory
— Set a custom views directory to use for this routes instance, leaving blank will use the default views directory
Name | Description |
---|---|
[$dirViewPath = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$dirViewPath = null;
//Call the function setDirectory with the example vars
Twist::Route() -> setDirectory($dirViewPath);