Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Create Dependency Injection container from config.neon file
- $configurator->addConfig(__DIR__ . '/config/config.neon', ENVIRONMENT);
- // load modules
- $configurator->onCompile[] = array(new \Wp\Application\ModuleLoader(APP_DIR), 'register');
- // create container
- $container = $configurator->createContainer();
Advertisement
Add Comment
Please, Sign In to add comment