function applyFilters($value, $valueIdentifier, $context)
    {
        foreach ($this->filters as $selector => $filterSet) {
            /* @var $filterSet FilterSet */
            if ($selector != self::SELECTOR_ROOT && $this->itemMatchesSelector($valueIdentifier, $selector)) {
                $value = $filterSet->applyFilters($value, $valueIdentifier, $context);
            }
        }
        return $value;
    }
function applyFilters($value, $valueIdentifier, $context)
    {
        foreach ($this->filters as $selector => $filterSet) {
            /* @var $filterSet FilterSet */
            if ($selector != self::SELECTOR_ROOT && $this->itemMatchesSelector($valueIdentifier, $selector)) {
                $value = $filterSet->applyFilters($value, $valueIdentifier, $context);
            }
        }
        return $value;
    }
function applyFilters ( $ value , $ valueIdentifier , $ context ) { foreach ( $ this -> filters as $ selector => $ filterSet ) { /* @var $filterSet FilterSet */ if ( $ selector != self :: SELECTOR_ROOT && $ this -> itemMatchesSelector ( $ valueIdentifier , $ selector ) ) { $ value = $ filterSet -> applyFilters ( $ value , $ valueIdentifier , $ context ) ; } } return $ value ; }
Apply filters to a single value

@param mixed $value
value of the item
@param string $valueIdentifier
array element path (eg: 'key' or 'key[0][subkey]')
@param mixed $context
@return mixed
Apply filters to a single value