public function getDigits($key, $default = '', $deep = false)
    {
        // we need to remove - and + because they're allowed in the filter
        return str_replace(array('-', '+'), '', $this->filter($key, $default, $deep, FILTER_SANITIZE_NUMBER_INT));
    }
public function getDigits($key, $default = '', $deep = false)
    {
        // we need to remove - and + because they're allowed in the filter
        return str_replace(array('-', '+'), '', $this->filter($key, $default, $deep, FILTER_SANITIZE_NUMBER_INT));
    }
public function getDigits ( $ key , $ default = '' , $ deep = false ) { // we need to remove - and + because they're allowed in the filter return str_replace ( array ( '-' , '+' ) , '' , $ this -> filter ( $ key , $ default , $ deep , FILTER_SANITIZE_NUMBER_INT ) ) ; }
Returns the digits of the parameter value.

@param string $key     The parameter key
@param mixed  $default The default value if the parameter key does not exist
@param bool   $deep    If true, a path like foo[bar] will find deeper items

@return string The filtered value

@api
Returns the digits of the parameter value .