File path: dist/twist/Classes/Autoload.class.php
Namespace: Twist\Classes
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.
<?php
//Set the variables for the example
$strBaseDir = 'foo';
//Call the function init with the example vars
\Twist\Classes\Autoload::init($strBaseDir);
Method | Access | Returns |
---|---|---|
init | static | void |
load | static | void |