| 1 | <?php |
||
| 17 | class WithCustomUrl implements TransportInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $url; |
||
| 23 | /** |
||
| 24 | * @var TransportInterface |
||
| 25 | */ |
||
| 26 | private $transport; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * WithCustomUrl constructor. |
||
| 30 | * |
||
| 31 | * @param string $url |
||
| 32 | * @param TransportInterface $transport |
||
| 33 | */ |
||
| 34 | public function __construct($url, TransportInterface $transport) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @inheritDoc |
||
| 52 | */ |
||
| 53 | public function send(RequestInterface $request) |
||
| 67 | } |
||
| 68 |