TwistPHP Documentation

Autoload

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

Type: Class

Autoload — A custom AutoLoader that loads in all TwistPHP files, packages and App content. The AutoLoader is included automatically by the framework when used within your site.

Example Usage

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

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

Method List

Method Access Returns
initstaticvoid
loadstaticvoid