| 1 | <?php |
||
| 8 | class MessageAdapter implements ReadableMessage |
||
| 9 | { |
||
| 10 | private |
||
| 11 | $message, |
||
|
1 ignored issue
–
show
|
|||
| 12 | $body; |
||
| 13 | |||
| 14 | public function __construct(\Swarrot\Broker\Message $message) |
||
| 19 | |||
| 20 | public function getRoutingKey() |
||
| 24 | |||
| 25 | public function getContentType() |
||
| 29 | |||
| 30 | public function getAppId() |
||
| 34 | |||
| 35 | public function getHeaders() |
||
| 39 | |||
| 40 | public function getBody() |
||
| 44 | |||
| 45 | public function getDecodedBody() |
||
| 49 | |||
| 50 | public function getRawBody() |
||
| 54 | |||
| 55 | public function getFlags() |
||
| 59 | |||
| 60 | public function getAttribute($attributeName) |
||
| 70 | |||
| 71 | public function __toString() |
||
| 79 | |||
| 80 | private function getHeader($headerName) |
||
| 90 | |||
| 91 | public function getAttributes() |
||
| 95 | |||
| 96 | public function isLastRetry($retryOccurence = \Puzzle\AMQP\Consumers\Retry::DEFAULT_RETRY_OCCURENCE) |
||
| 102 | |||
| 103 | public function getRoutingKeyFromHeader() |
||
| 107 | } |
||
| 108 |
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.