PluginProbe
Packeta / trunk
Packeta vtrunk
2.3.2 2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 All 56 releases
packeta / src / Packetery / Module / SurveyConfig.php

SurveyConfig.php in Packeta trunk, at src/Packetery/Module/SurveyConfig.php

51 lines 670 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Class SurveyConfig
4 *
5 * @package Packetery
6 */
7
8 namespace Packetery\Module;
9
10 /**
11 * Class SurveyConfig
12 *
13 * @package Packetery
14 */
15 class SurveyConfig {
16
17 /**
18 * Tells whether to display.
19 *
20 * @var bool
21 */
22 public $active;
23
24 /**
25 * Survey URL.
26 *
27 * @var string
28 */
29 public $url;
30
31 /**
32 * Survey visual.
33 *
34 * @var string
35 */
36 public $image;
37
38 /**
39 * SurveyConfig constructor.
40 *
41 * @param bool $active Active.
42 * @param string $url Url.
43 * @param string $image Image.
44 */
45 public function __construct( bool $active, string $url, string $image ) {
46 $this->active = $active;
47 $this->url = $url;
48 $this->image = $image;
49 }
50 }
51