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\Stream\Stream is used by default. |
||
33 | */ |
||
34 | public function __construct($streamClass = 'GuzzleHttp\\Stream\\Stream') |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function supports($xmlDocument) |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | public function convert($xmlDocument) |
||
61 | } |
||
62 |