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