TwistPHP Documentation

setDirectory

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

setDirectorySet the View directory to default or provide a new directory

Parameters

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

Return Values

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

Example

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

//Call the function setDirectory with the example vars
Twist::View() -> setDirectory($dirCustomViews);