Esempio n. 1
0
 /**
  * Find a value by it's name accepting dotted path.
  * If you are sure that the value you want to get is a direct value,
  * please consider using getDirectValue for performance purposes
  * @param string $path the path of the data, accepts dotted notation
  * @return mixed the value
  */
 public function findValue($path)
 {
     if (!$this->isArray()) {
         return null;
     }
     return $this->navigator->arrayGet($this->data, $path);
 }