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