HosipLan

Untitled

Feb 19th, 2012
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. // Create Dependency Injection container from config.neon file
  2. $configurator->addConfig(__DIR__ . '/config/config.neon', ENVIRONMENT);
  3.  
  4. // load modules
  5. $configurator->onCompile[] = array(new  \Wp\Application\ModuleLoader(APP_DIR), 'register');
  6.  
  7. // create container
  8. $container = $configurator->createContainer();
Advertisement
Add Comment
Please, Sign In to add comment