TwistPHP Documentation

setDirectory

File path: dist/twist/Core/Helpers/View.helper.php
Namespace: Twist\Core\Helpers
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);