| 1 | <?php |
||
| 19 | class News extends Message |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $type = 'news'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var array |
||
| 28 | */ |
||
| 29 | protected $properties = [ |
||
| 30 | 'items', |
||
| 31 | ]; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * News constructor. |
||
| 35 | * |
||
| 36 | * @param array $items |
||
| 37 | */ |
||
| 38 | public function __construct(array $items = []) |
||
| 42 | |||
| 43 | public function toXmlArray() |
||
| 58 | } |
||
| 59 |