TwistPHP Documentation

init

File path: dist/twist/Classes/Autoload.class.php
Namespace: Twist\Classes
Extends:

initInitialise the AutoLoader and register the class as an AutoLoader

Parameters

Name Type Description
$strBaseDirstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strBaseDir 'foo';

//Call the function init with the example vars
\Twist\Classes\Autoload::init($strBaseDir);