1 | <?php namespace BuildR\TestTools\DataSetLoader; |
||
21 | class DataSetLoaderFactory { |
||
22 | |||
23 | /** |
||
24 | * Creates a new YAML dataSet parser |
||
25 | * |
||
26 | * @param string $fileLocation File absolute location |
||
27 | * @param string|NULL $dataSetName The name of the loaded dataSet If not provided, the first dataSet will be used. |
||
28 | * @param \BuildR\TestTools\DataSetLoader\YAML\Parser\YAMLParserInterface|NULL $parser |
||
29 | * |
||
30 | * @return \BuildR\TestTools\DataSetLoader\YAML\YAMLDataSetLoader |
||
31 | */ |
||
32 | public static function YAML($fileLocation, $dataSetName = NULL, YAMLParserInterface $parser = NULL) { |
||
41 | |||
42 | /** |
||
43 | * Creates a new XML dateSet parser |
||
44 | * |
||
45 | * @param string $fileLocation Input file absolute location |
||
46 | * @param string|NULL $dataSetName The name of the loaded dataSet If not provided, the first dataSet will be used. |
||
47 | * @param \BuildR\TestTools\DataSetLoader\XML\Parser\XMLDefinitionParserInterface|NULL $parser |
||
48 | * |
||
49 | * @return \BuildR\TestTools\DataSetLoader\XML\XMLDataSetLoader |
||
50 | */ |
||
51 | 5 | public static function XML($fileLocation, $dataSetName = NULL, XMLDefinitionParserInterface $parser = NULL) { |
|
62 | |||
63 | } |
||
64 |