1 | <?php declare(strict_types = 1); |
||
16 | class XMLResolver implements ResolverInterface |
||
17 | { |
||
18 | /** @var ArrayClassResolver */ |
||
19 | protected $classResolver; |
||
20 | |||
21 | /** |
||
22 | * AnnotationResolver constructor. |
||
23 | * |
||
24 | * @param ArrayClassResolver $classResolver |
||
25 | */ |
||
26 | public function __construct(ArrayClassResolver $classResolver) |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function resolve($xmlConfiguration, string $identifier = null) : ClassMetadata |
||
52 | |||
53 | /** |
||
54 | * function xml2array |
||
55 | * |
||
56 | * This function is part of the PHP manual. |
||
57 | * |
||
58 | * The PHP manual text and comments are covered by the Creative Commons |
||
59 | * Attribution 3.0 License, copyright (c) the PHP Documentation Group |
||
60 | * |
||
61 | * @author k dot antczak at livedata dot pl |
||
62 | * @date 2011-04-22 06:08 UTC |
||
63 | * @link http://www.php.net/manual/en/ref.simplexml.php#103617 |
||
64 | * @license http://www.php.net/license/index.php#doc-lic |
||
65 | * @license http://creativecommons.org/licenses/by/3.0/ |
||
66 | * @license CC-BY-3.0 <http://spdx.org/licenses/CC-BY-3.0> |
||
67 | */ |
||
68 | protected function xml2array($xmlObject, $out = array()) |
||
76 | } |
||
77 |