We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5780e0d commit dd222acCopy full SHA for dd222ac
src/Jsonq.php
@@ -405,13 +405,14 @@ public function sort($order = 'asc')
405
* getting data from desire path
406
*
407
* @param string $path
408
+ * @param bool $object
409
* @return mixed
410
* @throws NullValueException
411
* @throws ConditionNotAllowedException
412
*/
- public function find($path)
413
+ public function find($path, $object = true)
414
{
- return $this->from($path)->prepare()->get();
415
+ return $this->from($path)->prepare()->get($object);
416
}
417
418
/**
0 commit comments