src/Braincrafted/ArrayQuery/SelectEvaluation.php
public function evaluate($value, $filters)
    {
        if (false === is_array($filters)) {
            $filters = [ $filters ];
        }

        foreach ($filters as $filter) {
            $value = $this->evaluateFilter($value, $filter);
        }

        return $value;
    }
public function evaluate($value, $filters)
    {
        if (false === is_array($filters)) {
            $filters = [ $filters ];
        }

        foreach ($filters as $filter) {
            $value = $this->evaluateFilter($value, $filter);
        }

        return $value;
    }
public function evaluate ( $ value , $ filters ) { if ( false === is_array ( $ filters ) ) { $ filters = [ $ filters ] ; } foreach ( $ filters as $ filter ) { $ value = $ this -> evaluateFilter ( $ value , $ filter ) ; } return $ value ; }
Evaluates the given value with the given filters.

@param mixed $value   The value.
@param array $filters The list of filters to apply.

@return mixed The evaluated value.

@throws Braincrafted\ArrayQuery\Exception\UnkownFilterException if a filter does not exist.
Evaluates the given value with the given filters .