| Conditions | 4 | 
| Paths | 3 | 
| Total Lines | 13 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 10 | 
| CRAP Score | 4 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 30 | 13 | public function process(ContainerBuilder $container)  | 
            |
| 31 |     { | 
            ||
| 32 | 13 |         if (!$container->hasDefinition($this->restorerId) || !$container->hasDefinition($this->saverId)) { | 
            |
| 33 | 2 | return;  | 
            |
| 34 | }  | 
            ||
| 35 | 11 | $restorer = $container->getDefinition($this->restorerId);  | 
            |
| 36 | 11 | $saver = $container->getDefinition($this->saverId);  | 
            |
| 37 | |||
| 38 | 11 |         foreach ($container->findTaggedServiceIds(RestorablePhpFileCache::TAG_RESTORABLE_CACHE) as $configCacheId => $attributes) { | 
            |
| 39 | 1 |             $restorer->addMethodCall('addConfig', array(new Reference($configCacheId))); | 
            |
| 40 | 1 |             $saver->addMethodCall('addConfig', array(new Reference($configCacheId))); | 
            |
| 41 | 11 | }  | 
            |
| 42 | 11 | }  | 
            |
| 43 | }  | 
            ||
| 44 |