| Total Complexity | 6 |
| Total Lines | 83 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class SubscriptionMessage |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $channel; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $id; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var array |
||
| 27 | */ |
||
| 28 | protected $filters = []; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var array |
||
| 32 | */ |
||
| 33 | protected $data = []; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var array |
||
| 37 | */ |
||
| 38 | protected $meta = []; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * SubscriptionMessage constructor. |
||
| 42 | * |
||
| 43 | * @param string $channel |
||
| 44 | * @param string $id |
||
| 45 | * @param array $data |
||
| 46 | * @param array $filters |
||
| 47 | * @param array $meta |
||
| 48 | */ |
||
| 49 | public function __construct(string $channel, string $id, array $data, array $filters, array $meta) |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | public function getChannel(): string |
||
| 62 | { |
||
| 63 | return $this->channel; |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @return string |
||
| 68 | */ |
||
| 69 | public function getId(): string |
||
| 70 | { |
||
| 71 | return $this->id; |
||
| 72 | } |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @return array |
||
| 76 | */ |
||
| 77 | public function getData(): array |
||
| 78 | { |
||
| 79 | return $this->data; |
||
| 80 | } |
||
| 81 | |||
| 82 | /** |
||
| 83 | * @return array |
||
| 84 | */ |
||
| 85 | public function getFilters(): array |
||
| 88 | } |
||
| 89 | |||
| 90 | /** |
||
| 91 | * @return array |
||
| 92 | */ |
||
| 93 | public function getMeta(): array |
||
| 96 | } |
||
| 97 | } |
||
| 98 |