Exemple #1
0
 public function hasValue($path, &$value)
 {
     $result = false;
     $value = null;
     $pointers = is_array($path) ? $path : JsonUtils::pathDecode($path);
     if ($this->workGet($pointers, false)) {
         $value = JsonUtils::dataCopy($this->element);
         $result = true;
     }
     return $result;
 }