| @@ 40-47 (lines=8) @@ | ||
| 37 | * @param string $streamClass FQCN of StreamInterface implementation, GuzzleHttp\Stream\Stream is used by default. |
|
| 38 | * @param array $options Adapter options. |
|
| 39 | */ |
|
| 40 | public function __construct($streamClass = 'GuzzleHttp\\Stream\\Stream', array $options = array()) |
|
| 41 | { |
|
| 42 | $this->streamClass = $streamClass; |
|
| 43 | $this->options = array_merge(array( |
|
| 44 | 'stream' => 'php://memory', |
|
| 45 | 'save_xml_options' => null |
|
| 46 | ), $options); |
|
| 47 | } |
|
| 48 | ||
| 49 | /** |
|
| 50 | * {@inheritdoc} |
|
| @@ 33-39 (lines=7) @@ | ||
| 30 | * @param string $streamClass FQCN of StreamInterface implementation, GuzzleHttp\Stream\Stream is used by default. |
|
| 31 | * @param array $options Adapter options. |
|
| 32 | */ |
|
| 33 | public function __construct($streamClass = 'GuzzleHttp\\Stream\\Stream', array $options = array()) |
|
| 34 | { |
|
| 35 | $this->streamClass = $streamClass; |
|
| 36 | $this->options = array_merge(array( |
|
| 37 | 'stream' => 'php://memory' |
|
| 38 | ), $options); |
|
| 39 | } |
|
| 40 | ||
| 41 | /** |
|
| 42 | * {@inheritdoc} |
|