src/RunOpenCode/Sax/StreamAdapter/DomDocumentAdapter.php 1 location
|
@@ 40-47 (lines=8) @@
|
| 37 |
|
* @param string $streamClass FQCN of StreamInterface implementation, GuzzleHttp\Psr7\Stream is used by default. |
| 38 |
|
* @param array $options Adapter options. |
| 39 |
|
*/ |
| 40 |
|
public function __construct($streamClass = 'GuzzleHttp\\Psr7\\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} |
src/RunOpenCode/Sax/StreamAdapter/SimpleXmlAdapter.php 1 location
|
@@ 40-46 (lines=7) @@
|
| 37 |
|
* @param string $streamClass FQCN of StreamInterface implementation, GuzzleHttp\Psr7\Stream is used by default. |
| 38 |
|
* @param array $options Adapter options. |
| 39 |
|
*/ |
| 40 |
|
public function __construct($streamClass = 'GuzzleHttp\\Psr7\\Stream', array $options = array()) |
| 41 |
|
{ |
| 42 |
|
$this->streamClass = $streamClass; |
| 43 |
|
$this->options = array_merge(array( |
| 44 |
|
'stream' => 'php://memory', |
| 45 |
|
), $options); |
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
/** |
| 49 |
|
* {@inheritdoc} |
src/RunOpenCode/Sax/StreamAdapter/StringAdapter.php 1 location
|
@@ 40-46 (lines=7) @@
|
| 37 |
|
* @param string $streamClass FQCN of StreamInterface implementation, GuzzleHttp\Psr7\Stream is used by default. |
| 38 |
|
* @param array $options Adapter options. |
| 39 |
|
*/ |
| 40 |
|
public function __construct($streamClass = 'GuzzleHttp\\Psr7\\Stream', array $options = array()) |
| 41 |
|
{ |
| 42 |
|
$this->streamClass = $streamClass; |
| 43 |
|
$this->options = array_merge(array( |
| 44 |
|
'stream' => 'php://memory', |
| 45 |
|
), $options); |
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
/** |
| 49 |
|
* {@inheritdoc} |