implements Phalcon\Events\EventsAwareInterface
Source on GitHub
This component helps to load your project classes automatically based on some conventions
//Creates the autoloader
$loader = new Loader();
//Register some namespaces
$loader->registerNamespaces(array(
'Example\Base' => 'vendor/example/base/',
'Example\Adapter' => 'vendor/example/adapter/',
'Example' => 'vendor/example/'
));
//register autoloader
$loader->register();
//Requiring this class will auto