Stud.IP  5.4
bootstrap-definitions.php File Reference

Variables

 return [LoggerInterface::class=> DI\factory(function() { return new Logger('studip', [new StreamHandler($GLOBALS['TMP_PATH'] . '/studip.log', \Studip\ENV==='development' ? Logger::DEBUG :Logger::ERROR),]);}), StudipCache::class=> DI\factory(function() { return StudipCacheFactory::getCache();}), StudipPDO::class=> DI\factory(function() { return DBManager::get();}), Trails_Dispatcher::class=> DI\factory(function(ContainerInterface $container) { return new \StudipDispatcher($container);}),]
 

Variable Documentation

◆ return

return[ LoggerInterface::class=> DI\factory(function() { return new Logger( 'studip', [ new StreamHandler( $GLOBALS[ 'TMP_PATH'] . '/studip.log', \Studip\ENV==='development' ? Logger::DEBUG :Logger::ERROR),]); }), StudipCache::class=> DI\factory(function() { return StudipCacheFactory::getCache(); }), StudipPDO::class=> DI\factory(function() { return DBManager::get(); }), Trails_Dispatcher::class=> DI\factory(function(ContainerInterface $container) { return new \StudipDispatcher( $container); }),]