Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
message.php
1<?php
3
15interface Message
16{
17
23 public function setBody($body): self;
27 public function getBody();
28
29
30 public function setProperties(array $properties): self;
31
35 public function getProperties(): array;
36
37 public function setProperty(string $name, $value): self;
38
39 public function getProperty(string $name, $default = null);
40
41 public function setHeaders(array $headers): self;
42
46 public function getHeaders(): array;
47
48 public function setHeader(string $name, $value): self;
49
50 public function getHeader(string $name, $default = null);
51
52 public function setRoutingKey(string $routingKey = null): self;
53
54 public function getRoutingKey(): ?string;
55}
getHeader(string $name, $default=null)
getProperty(string $name, $default=null)