| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 8 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 7 | 
| CRAP Score | 3 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 22 | 2 | public function provideTwigPaths(XerviceLoaderInterface $loader): void | |
| 23 |     { | ||
| 24 | 2 |         foreach ($this->getFactory()->createPathFinder()->getPaths() as $path) { | |
| 25 | 2 |             if (is_dir($path . '/Presentation/Theme')) { | |
| 26 | 2 | $namespace = basename($path); | |
| 27 | 2 | $loader->addPath( | |
| 28 | 2 | $path . '/Presentation/Theme', | |
| 29 | 2 | $namespace | |
| 30 | ); | ||
| 34 | } |