PluginProbe
WP-Stateless – Google Cloud Storage / trunk
WP-Stateless – Google Cloud Storage vtrunk
4.4.3 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.3.0 2.3.1 2.3.2 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 All 62 releases
wp-stateless / lib / classes / sync / class-helper-window.php

class-helper-window.php in WP-Stateless – Google Cloud Storage trunk, at lib/classes/sync/class-helper-window.php

36 lines 473 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace wpCloud\StatelessMedia\Sync;
4
5 /**
6 * Helper Window for a single process UI
7 */
8 class HelperWindow {
9
10 /**
11 * Title
12 */
13 public $title;
14
15 /**
16 * Content
17 */
18 public $content;
19
20 /**
21 * Construct
22 */
23 public function __construct($title, $content) {
24 $this->title = $title;
25 $this->content = $content;
26 }
27
28 /**
29 * To JSON
30 */
31 #[\ReturnTypeWillChange]
32 public function jsonSerialize() {
33 return get_object_vars($this);
34 }
35 }
36