| Total Complexity | 3 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class PluginUninstallDefinition implements TaskDefinitionInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $plugin; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var bool |
||
| 19 | */ |
||
| 20 | private $secure; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * PluginReinstallDefinition constructor. |
||
| 24 | * @param string $plugin |
||
| 25 | * @param bool $secure |
||
| 26 | */ |
||
| 27 | public function __construct(string $plugin, bool $secure = false) |
||
| 31 | } |
||
| 32 | |||
| 33 | |||
| 34 | /** |
||
| 35 | * @param bool $secure |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | public function secure(bool $secure = true): self |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return ParameterCollectionInterface |
||
| 46 | */ |
||
| 47 | public function define(): ParameterCollectionInterface |
||
| 50 | } |
||
| 51 | } |