PluginProbe
JetBackup – Backup, Restore & Migrate / 3.1.21.3
JetBackup – Backup, Restore & Migrate v3.1.21.3
3.1.23.6 3.1.23.5 3.1.23.3 3.1.22.4 3.1.22.3 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.8.1 1.4.9 1.5.0 1.5.1 1.5.1.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 1.6.10 All 82 releases
backup / src / JetBackup / Queue / QueueItemSystem.php

QueueItemSystem.php in JetBackup – Backup, Restore & Migrate 3.1.21.3, at src/JetBackup/Queue/QueueItemSystem.php

20 lines 418 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace JetBackup\Queue;
4
5 if (!defined( '__JETBACKUP__')) die('Direct access is not allowed');
6
7 class QueueItemSystem extends aQueueItem {
8
9 const TYPE = 'type';
10
11 public function setType(int $type):void { $this->set(self::TYPE, $type); }
12 public function getType():int { return $this->get(self::TYPE, 0); }
13
14 public function getDisplay():array {
15 return [
16 self::TYPE => $this->getType(),
17 ];
18 }
19 }
20