1 | <?php |
||
9 | class MessageAdapter implements ReadableMessage |
||
10 | { |
||
11 | private |
||
12 | $message, |
||
1 ignored issue
–
show
|
|||
13 | $body; |
||
14 | |||
15 | 2 | public function __construct(\Swarrot\Broker\Message $message) |
|
20 | |||
21 | public function getRoutingKey() |
||
25 | |||
26 | 2 | public function getContentType() |
|
30 | |||
31 | public function getAppId() |
||
35 | |||
36 | public function getHeaders() |
||
40 | |||
41 | public function getBody() |
||
45 | |||
46 | 2 | public function getDecodedBody() |
|
50 | |||
51 | 2 | public function getRawBody() |
|
55 | |||
56 | public function getFlags() |
||
60 | |||
61 | 2 | public function getAttribute($attributeName) |
|
71 | |||
72 | public function __toString() |
||
80 | |||
81 | public function getService() |
||
85 | |||
86 | public function getAction() |
||
90 | |||
91 | public function getAuthor() |
||
95 | |||
96 | private function getHeader($headerName) |
||
106 | |||
107 | public function getAttributes() |
||
111 | |||
112 | public function isLastRetry($retryOccurence = \Puzzle\AMQP\Consumers\Retry::DEFAULT_RETRY_OCCURENCE) |
||
118 | |||
119 | public function getRoutingKeyFromHeader() |
||
130 | } |
||
131 |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.