| 1 | <?php |
||
| 7 | class TraceablePushServer implements TraceablePushServerInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var PushServerInterface |
||
| 11 | */ |
||
| 12 | private $pushServer; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string[] |
||
| 16 | */ |
||
| 17 | private $sentMessages; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param PushServerInterface $pushServer |
||
| 21 | */ |
||
| 22 | public function __construct(PushServerInterface $pushServer) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@InheritDoc} |
||
| 30 | */ |
||
| 31 | public function send($message) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string[] |
||
| 39 | */ |
||
| 40 | public function getSentMessages() |
||
| 44 | } |
||
| 45 |