Skip to content
Permalink
Browse files

add `.name` for fixing `Get the name...`

  • Loading branch information...
saeideng committed Aug 13, 2017
1 parent ae74105 commit 100c768606579a816a2fa72e8c4b5ba42bc2a9bf
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Utility/Hash.php
@@ -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`.
*

0 comments on commit 100c768

Please sign in to comment.
You can’t perform that action at this time.