src/Vectorface/SnappyRouter/Request/HttpRequest.php
private function applyInputFilters($value, $filters)
    {
        foreach ($filters as $filter) {
            if (is_string($filter) && isset(self::$filterCallbacks[$filter])) {
                $value = call_user_func(self::$filterCallbacks[$filter], $value);
            }
        }
        return $value;
    }
private function applyInputFilters($value, $filters)
    {
        foreach ($filters as $filter) {
            if (is_string($filter) && isset(self::$filterCallbacks[$filter])) {
                $value = call_user_func(self::$filterCallbacks[$filter], $value);
            }
        }
        return $value;
    }
private function applyInputFilters ( $ value , $ filters ) { foreach ( $ filters as $ filter ) { if ( is_string ( $ filter ) && isset ( self :: $ filterCallbacks [ $ filter ] ) ) { $ value = call_user_func ( self :: $ filterCallbacks [ $ filter ] , $ value ) ; } } return $ value ; }
Applies the array of filters against the input value.
@param string $value The input value.
@param array $filters The array of filters.
@return string Returns the value after the filters have been applied.
Applies the array of filters against the input value .