| Total Complexity | 6 |
| Total Lines | 90 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class ForumTopicCreated extends BaseType implements TypeInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * {@inheritdoc} |
||
| 19 | * |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected static $requiredParams = ['name', 'icon_color']; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | * |
||
| 27 | * @var array |
||
| 28 | */ |
||
| 29 | protected static $map = [ |
||
| 30 | 'name' => true, |
||
| 31 | 'icon_color' => true, |
||
| 32 | 'icon_custom_emoji_id' => true, |
||
| 33 | ]; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Name of the forum topic |
||
| 37 | * |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | protected $name; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Color of the forum topic |
||
| 44 | * |
||
| 45 | * @var string |
||
| 46 | */ |
||
| 47 | protected $iconColor; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Custom emoji of the forum topic |
||
| 51 | * |
||
| 52 | * @var string |
||
| 53 | */ |
||
| 54 | protected $iconCustomEmojiId; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | public function getName() |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @param string $name |
||
| 66 | * @return void |
||
| 67 | */ |
||
| 68 | public function setName($name) |
||
| 69 | { |
||
| 70 | $this->name = $name; |
||
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @return string |
||
| 75 | */ |
||
| 76 | public function getIconColor() |
||
| 77 | { |
||
| 78 | return $this->iconColor; |
||
| 79 | } |
||
| 80 | |||
| 81 | /** |
||
| 82 | * @param string $iconColor |
||
| 83 | * @return void |
||
| 84 | */ |
||
| 85 | public function setIconColor($iconColor) |
||
| 88 | } |
||
| 89 | |||
| 90 | /** |
||
| 91 | * @return string |
||
| 92 | */ |
||
| 93 | public function getIconCustomEmojiId() |
||
| 94 | { |
||
| 95 | return $this->iconCustomEmojiId; |
||
| 96 | } |
||
| 97 | |||
| 98 | /** |
||
| 99 | * @param string $iconCustomEmojiId |
||
| 100 | * @return void |
||
| 101 | */ |
||
| 102 | public function setIconCustomEmojiId($iconCustomEmojiId) |
||
| 105 | } |
||
| 106 | } |
||
| 107 |