setTempDirectory(dirname(__FILE__) . '/temp'); $configurator->setLogDirectory(dirname(__FILE__) . '/temp'); // Other values $configurator->setTimeZone('Europe/Amsterdam'); $configurator->enableDebugMode(true); // Implement the Layout Component $configurator->addComponent(new \FuzeWorks\DatabaseComponent()); // Create container $container = $configurator->createContainer(); $container->init(); // And return the result return $container;