| Total Complexity | 2 | 
| Total Lines | 31 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php | ||
| 12 | final class Installer | ||
| 13 | { | ||
| 14 | /** @var Pipeline */ | ||
| 15 | private $pipeline; | ||
| 16 | |||
| 17 | /** | ||
| 18 | * @param Pipeline $pipeline | ||
| 19 | */ | ||
| 20 | 8 | public function __construct(Pipeline $pipeline) | |
| 21 |     { | ||
| 22 | 8 | $this->pipeline = $pipeline; | |
| 23 | 8 | } | |
| 24 | |||
| 25 | /** | ||
| 26 | * Returns a Twig instance with Shoot installed. Does not modify the original instance. | ||
| 27 | * | ||
| 28 | * @param Environment $twig | ||
| 29 | * | ||
| 30 | * @return Environment | ||
| 31 | */ | ||
| 32 | 8 | public function install(Environment $twig): Environment | |
| 43 | } | ||
| 44 | } | ||
| 45 |