| 1 | <?php |
||
| 21 | class ResourceAdapter implements StreamAdapterInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $streamClass; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * ResourceAdapter constructor. |
||
| 30 | * |
||
| 31 | * @param string $streamClass FQCN of StreamInterface implementation, GuzzleHttp\Psr7\Stream is used by default. |
||
| 32 | */ |
||
| 33 | 5 | public function __construct($streamClass = 'GuzzleHttp\\Psr7\\Stream') |
|
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | 5 | public function supports($xmlDocument) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | 1 | public function convert($xmlDocument) |
|
| 53 | } |
||
| 54 |