FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Setup the dependency injection container for Symfony from services.xml.in. More...
Go to the source code of this file.
Variables | |
$restCall = (isset($GLOBALS['apiCall']) && $GLOBALS['apiCall']) | |
$containerClassName = 'FossologyCachedContainer' | |
$cacheDir = array_key_exists('CACHEDIR', $GLOBALS) ? $GLOBALS['CACHEDIR'] : null | |
$cacheFile = "$cacheDir/container.php" | |
$containerBuilder = "Symfony\Component\DependencyInjection\ContainerBuilder" | |
$startTime = microtime(true) | |
$cached = $cacheDir && file_exists($cacheFile) | |
if($cached) | else |
$loader = new XmlFileLoader($container, new FileLocator(__DIR__)) | |
if($cacheDir &&is_dir($cacheDir)) if($restCall && $container->has('environment')) | $GLOBALS ['container'] = $container |
$logger = $container->get('logger') | |
$timeZone = $container->getParameter('time.zone') | |
$timingLogger = $container->get("log.timing") | |
Setup the dependency injection container for Symfony from services.xml.in.
Definition in file common-container.php.
if ( $cached) else |
Definition at line 40 of file common-container.php.