Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Enable RobotLoader - this will load all classes automatically
- $configurator->setTempDirectory(__DIR__ . '/temp');
- $robot = $configurator->createRobotLoader()
- ->addDirectory(APP_DIR)
- ->addDirectory(LIBS_DIR);
- $robot->register();
- $configurator->onCompile[] = function ($config, $compiler) use ($robot) {
- $compiler->addExtension(new PresentersRegisterExtension($robot));
- };
Advertisement
Add Comment
Please, Sign In to add comment