| Total Complexity | 5 | 
| Total Lines | 51 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 20 | final class SimpleScoper implements Scoper | ||
| 21 | { | ||
| 22 | private $scoper; | ||
| 23 | private $prefix; | ||
| 24 | private $whitelist; | ||
| 25 | private $patchers; | ||
| 26 | |||
| 27 | public function __construct(PhpScoper $scoper, string $prefix, Whitelist $whitelist, array $patchers) | ||
| 33 | } | ||
| 34 | |||
| 35 | /** | ||
| 36 |      * {@inheritdoc} | ||
| 37 | */ | ||
| 38 | public function scope(string $filePath, string $contents): string | ||
| 46 | ); | ||
| 47 | } | ||
| 48 | |||
| 49 | /** | ||
| 50 |      * {@inheritdoc} | ||
| 51 | */ | ||
| 52 | public function changeWhitelist(Whitelist $whitelist): void | ||
| 53 |     { | ||
| 54 | $this->whitelist = $whitelist; | ||
| 55 | } | ||
| 56 | |||
| 57 | /** | ||
| 58 |      * {@inheritdoc} | ||
| 59 | */ | ||
| 60 | public function getWhitelist(): Whitelist | ||
| 63 | } | ||
| 64 | |||
| 65 | /** | ||
| 66 |      * {@inheritdoc} | ||
| 67 | */ | ||
| 68 | public function getPrefix(): string | ||
| 73 |