| 1 | <?php |
||
| 18 | class JsonQueryFactory |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Creates a JsonQuery object without data provider. |
||
| 22 | * |
||
| 23 | * @return JsonQuery |
||
| 24 | */ |
||
| 25 | 1 | public static function create() |
|
| 29 | |||
| 30 | /** |
||
| 31 | * Creates a JsonQuery object with data provider. |
||
| 32 | * |
||
| 33 | * @param string $filenameOrText A path to a json file or json text |
||
| 34 | * |
||
| 35 | * @return JsonQuery |
||
| 36 | */ |
||
| 37 | 1 | public static function createWith($filenameOrText) |
|
| 46 | } |
||
| 47 |