1 | <?php |
||
12 | class UnInstallStrategy implements UnInstallStrategyInterface |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @var Filesystem |
||
17 | */ |
||
18 | protected $fileSystem; |
||
19 | |||
20 | /** |
||
21 | * The root dir for uninstalling from. Should be project root. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $rootDir; |
||
26 | |||
27 | /** |
||
28 | * @param Filesystem $fileSystem |
||
29 | * @param string $rootDir |
||
30 | */ |
||
31 | 3 | public function __construct(Filesystem $fileSystem, $rootDir) |
|
36 | |||
37 | /** |
||
38 | * UnInstall the extension given the list of install files |
||
39 | * |
||
40 | * @param array $files |
||
41 | */ |
||
42 | 3 | public function unInstall(array $files) |
|
74 | } |
||
75 |