| 1 | <?php |
||
| 19 | class XmlFileLoader extends Loader |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Returns true if this class supports the given resource. |
||
| 23 | * |
||
| 24 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
| 25 | * @param mixed $resource A resource |
||
| 26 | * @param string $type The resource type |
||
| 27 | * |
||
| 28 | * @return bool true if this class supports the given resource, false otherwise |
||
| 29 | */ |
||
| 30 | 3 | public function supports($resource, $type = null) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * Loads internal. |
||
| 37 | * |
||
| 38 | * @param string $file |
||
| 39 | * |
||
| 40 | * @return \SimpleXMLElement |
||
| 41 | */ |
||
| 42 | 3 | protected function loadFile($file) |
|
| 52 | } |
||
| 53 |