| 1 | <?php |
||
| 15 | class Debug implements AdapterInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $host; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var int |
||
| 24 | */ |
||
| 25 | protected $port; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Debug constructor. |
||
| 29 | * |
||
| 30 | * @param $host |
||
| 31 | * @param $port |
||
| 32 | * @throws AdapterException |
||
| 33 | */ |
||
| 34 | public function __construct($host, $port) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Should return a dummy response body. |
||
| 46 | * |
||
| 47 | * @param AbstractMessage $message |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function send(AbstractMessage $message) |
||
| 56 | } |
||
| 57 |