Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OpsPortal
lavoisiercli
Commits
8cbf219b
Commit
8cbf219b
authored
Oct 13, 2014
by
ZZZ[GONE] Lequeux Olivier
Browse files
var_dump
parent
b50c78f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
8cbf219b
...
...
@@ -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) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment