| Total Complexity | 7 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class SetRemovalTimeBatchConfiguration extends BatchConfiguration |
||
| 11 | { |
||
| 12 | protected $removalTime; |
||
| 13 | protected $hasRemovalTime; |
||
| 14 | protected $isHierarchical; |
||
| 15 | |||
| 16 | public function __construct(array $ids, DeploymentMappings $mappings = null) |
||
| 17 | { |
||
| 18 | parent::__construct($ids, $mappings); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getRemovalTime(): string |
||
| 22 | { |
||
| 23 | return $this->removalTime; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function setRemovalTime(string $removalTime): SetRemovalTimeBatchConfiguration |
||
| 30 | } |
||
| 31 | |||
| 32 | public function hasRemovalTime(): bool |
||
| 33 | { |
||
| 34 | return $this->hasRemovalTime; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function setHasRemovalTime(bool $hasRemovalTime): SetRemovalTimeBatchConfiguration |
||
| 38 | { |
||
| 39 | $this->hasRemovalTime = $hasRemovalTime; |
||
| 40 | return $this; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function isHierarchical(): bool |
||
| 46 | } |
||
| 47 | |||
| 48 | public function setHierarchical(bool $hierarchical): SetRemovalTimeBatchConfiguration |
||
| 49 | { |
||
| 50 | $this->isHierarchical = $hierarchical; |
||
| 54 |