| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 3 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 15 | 4 | public function getFactory($proxyManagerCacheDir = null): LazyLoadingValueHolderFactory | |
| 16 |     { | ||
| 17 | 4 | $proxyConfiguration = null === $proxyManagerCacheDir ? null : $this->getProxyManagerConfiguration($proxyManagerCacheDir); | |
| 18 | |||
| 19 | 4 | $lazyLoadingFactory = new LazyLoadingValueHolderFactory($proxyConfiguration); | |
| 20 | |||
| 21 | 4 |         if ($proxyConfiguration instanceof Configuration) { | |
| 22 | 4 | spl_autoload_register($proxyConfiguration->getProxyAutoloader(), true, true); | |
| 23 | } | ||
| 24 | |||
| 25 | 4 | return $lazyLoadingFactory; | |
| 26 | } | ||
| 27 | |||
| 47 |