| 1 | <?php |
||
| 6 | class Stomp implements Iface |
||
| 7 | { |
||
| 8 | private $msg; |
||
| 9 | |||
| 10 | |||
| 11 | /** |
||
| 12 | * Initializes the message object |
||
| 13 | * |
||
| 14 | * @param \StompFrame $msg Stomp frame object |
||
| 15 | */ |
||
| 16 | public function __construct( \StompFrame $msg ) |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * Returns the message body |
||
| 24 | * |
||
| 25 | * @return string Message body |
||
| 26 | */ |
||
| 27 | public function getBody() |
||
| 31 | |||
| 32 | |||
| 33 | /** |
||
| 34 | * Returns the original message object |
||
| 35 | * |
||
| 36 | * @return \StompFrame Stomp frame object |
||
| 37 | */ |
||
| 38 | public function getObject() |
||
| 42 | } |