Commit 8cbf219b authored by ZZZ[GONE] Lequeux Olivier's avatar ZZZ[GONE] Lequeux Olivier
Browse files

var_dump

parent b50c78f6
......@@ -15,13 +15,13 @@ Some basics hydrators are provided, but you will easily create your own.
### Hydrate with SimpleXMLHydrator
```
// var_dump(results)
$lquery = new \Lavoisier\Query('localhost','example');
$lquery->setPath("/data/products[@month='January']");
$lquery->setHydrator(new \Lavoisier\Hydrators\SimpleXMLHydrator());
$result = $lquery->execute();
// var_dump(results);
object(SimpleXMLElement)#2 (1) {
["products"]=>
object(SimpleXMLElement)#4 (4) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment