| 1 | <?php |
||
| 9 | class MessageAdapter implements ReadableMessage |
||
| 10 | { |
||
| 11 | private |
||
| 12 | $message, |
||
|
1 ignored issue
–
show
|
|||
| 13 | $body; |
||
| 14 | |||
| 15 | public function __construct(\Swarrot\Broker\Message $message) |
||
| 20 | |||
| 21 | public function getRoutingKey() |
||
| 25 | |||
| 26 | public function getContentType() |
||
| 30 | |||
| 31 | public function getAppId() |
||
| 35 | |||
| 36 | public function getHeaders() |
||
| 40 | |||
| 41 | public function getDecodedBody() |
||
| 45 | |||
| 46 | public function getRawBody() |
||
| 50 | |||
| 51 | public function getFlags() |
||
| 55 | |||
| 56 | public function getAttribute($attributeName) |
||
| 66 | |||
| 67 | public function __toString() |
||
| 75 | |||
| 76 | public function getService() |
||
| 80 | |||
| 81 | public function getAction() |
||
| 85 | |||
| 86 | public function getAuthor() |
||
| 90 | |||
| 91 | private function getHeader($headerName) |
||
| 101 | |||
| 102 | public function getAttributes() |
||
| 106 | |||
| 107 | public function isLastRetry($retryOccurence = \Puzzle\AMQP\Consumers\Retry::DEFAULT_RETRY_OCCURENCE) |
||
| 113 | |||
| 114 | public function getRoutingKeyFromHeader() |
||
| 125 | } |
||
| 126 |
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.