protected function filter($input): string
    {
        $input = parent::filter((string)$input);
        return preg_replace('/\s/', '', $input);
    }
protected function filter($input): string
    {
        $input = parent::filter((string)$input);
        return preg_replace('/\s/', '', $input);
    }
protected function filter ( $ input ) : string { $ input = parent :: filter ( ( string ) $ input ) ; return preg_replace ( '/\s/' , '' , $ input ) ; }
Filter input data

@param  string $input

@return string
Filter input data