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