| 1 | <?php |
||
| 22 | final class FileWhitelistScoper implements Scoper |
||
| 23 | { |
||
| 24 | private $decoratedScoper; |
||
| 25 | private $filePaths; |
||
| 26 | |||
| 27 | 1 | public function __construct(Scoper $decoratedScoper, string ...$filePaths) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @inheritdoc |
||
| 35 | */ |
||
| 36 | 1 | public function scope(string $filePath, string $contents, string $prefix, array $patchers, Whitelist $whitelist): string |
|
| 44 | } |
||
| 45 |