Beispiel #1
0
 public static function equalTo($value, $otherElementOrValue, $context = null)
 {
     if (func_num_args() == 2) {
         return $value == $otherElementOrValue;
     }
     return $value == Arr::getByPath($context, $otherElementOrValue);
 }
Beispiel #2
0
 function getItemValue($item)
 {
     return Arr::getByPath($this->data, $item);
 }