Skip to content

Commit

Permalink
add .name for fixing Get the name...
Browse files Browse the repository at this point in the history
  • Loading branch information
saeideng committed Aug 13, 2017
1 parent ae74105 commit 100c768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Utility/Hash.php
Expand Up @@ -110,8 +110,8 @@ public static function get($data, $path, $default = null)
*
* - `1.User.name` Get the name of the user at index 1.
* - `{n}.User.name` Get the name of every user in the set of users.
* - `{n}.User[id]` Get the name of every user with an id key.
* - `{n}.User[id>=2]` Get the name of every user with an id key greater than or equal to 2.
* - `{n}.User[id].name` Get the name of every user with an id key.
* - `{n}.User[id>=2].name` Get the name of every user with an id key greater than or equal to 2.
* - `{n}.User[username=/^paul/]` Get User elements with username matching `^paul`.
* - `{n}.User[id=1].name` Get the Users name with id matching `1`.
*
Expand Down

0 comments on commit 100c768

Please sign in to comment.