Total Complexity | 3 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | class PluginCommandEntity extends MessageEntity |
||
26 | { |
||
27 | /** @var string */ |
||
28 | protected $id; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | * @see PluginCommandNameEnum |
||
33 | */ |
||
34 | protected $name; |
||
35 | |||
36 | /** @var string */ |
||
37 | protected $value; |
||
38 | |||
39 | protected $channelType; |
||
40 | |||
41 | /** @var string */ |
||
42 | protected $minCmsVersion; |
||
43 | |||
44 | /** @var string */ |
||
45 | protected $maxCmsVersion; |
||
46 | |||
47 | /** |
||
48 | * Additional data with specific for each command fields |
||
49 | * |
||
50 | * @var array |
||
51 | */ |
||
52 | protected $metadata = array(); |
||
53 | |||
54 | /** |
||
55 | * @param string $key |
||
56 | * |
||
57 | * @return string|null |
||
58 | */ |
||
59 | public function getMeta($key) |
||
62 | } |
||
63 | |||
64 | /** |
||
65 | * @param string $key |
||
66 | * @param string $value |
||
67 | * |
||
68 | * @return $this |
||
69 | */ |
||
70 | public function setMeta($key, $value) |
||
77 |