Exemple #1
0
 /**
  * Return array values and object properties.
  *
  * @param string|int|mixed[] $path    the path
  * @param object|array|null  $target  the target
  * @param mixed              $default default value if $path is not valid
  *
  * @return mixed the value determined by `$path` or otherwise `$default`
  *
  * @SuppressWarnings(PHPMD.StaticAccess)
  */
 function getValue($path, $target, $default = null)
 {
     return Get::value($path, $target, $default);
 }