oSoc13 / tdt-Installer

an installer for The DataTank built at open Summer of code 2013
http://thedatatank.com
0 stars 0 forks source link

Add installer namespace to autoloader #2

Closed jenssegers closed 11 years ago

jenssegers commented 11 years ago

You can add the tdt/installer namespace to the autoloader so that you do not have to include/require files all the time. This adds flexibility and allows "lazy" class-loading.

$loader = require 'vendor/autoload.php';
$loader->add('tdt\\installer\\', ...);