| 1 | <?php |
||
| 14 | class MailxpertStream |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var resource Context stream resource instance |
||
| 18 | */ |
||
| 19 | protected $stream; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var array Response headers from the stream wrapper |
||
| 23 | */ |
||
| 24 | protected $responseHeaders; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Make a new context stream reference instance |
||
| 28 | * |
||
| 29 | * @param array $options |
||
| 30 | */ |
||
| 31 | public function streamContextCreate(array $options) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * The response headers from the stream wrapper |
||
| 38 | * |
||
| 39 | * @return array|null |
||
| 40 | */ |
||
| 41 | public function getResponseHeaders() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Send a stream wrapped request |
||
| 48 | * |
||
| 49 | * @param string $url |
||
| 50 | * |
||
| 51 | * @return mixed |
||
| 52 | */ |
||
| 53 | public function fileGetContents($url) |
||
| 60 | } |
||
| 61 |