| Total Complexity | 2 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class MessageId extends BaseType implements TypeInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * {@inheritdoc} |
||
| 15 | * |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | protected static $requiredParams = ['message_id']; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritdoc} |
||
| 22 | * |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | protected static $map = [ |
||
| 26 | 'message_id' => true, |
||
| 27 | ]; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Unique message identifier |
||
| 31 | * |
||
| 32 | * @var integer |
||
| 33 | */ |
||
| 34 | protected $messageId; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return int |
||
| 38 | */ |
||
| 39 | public function getMessageId() |
||
| 40 | { |
||
| 41 | return $this->messageId; |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param int $messageId |
||
| 46 | * @return void |
||
| 47 | */ |
||
| 48 | public function setMessageId($messageId) |
||
| 51 | } |
||
| 52 | } |
||
| 53 |