public function sanitizeWithCallback($value)
    {
        if ($this->needsSanitization()) {
            return call_user_func(
                $this->getArgument('sanitize'),
                Descend::whileEmpty($value)
            );
        }

        return $value;
    }
public function sanitizeWithCallback($value)
    {
        if ($this->needsSanitization()) {
            return call_user_func(
                $this->getArgument('sanitize'),
                Descend::whileEmpty($value)
            );
        }

        return $value;
    }
public function sanitizeWithCallback ( $ value ) { if ( $ this -> needsSanitization ( ) ) { return call_user_func ( $ this -> getArgument ( 'sanitize' ) , Descend :: whileEmpty ( $ value ) ) ; } return $ value ; }
Run sanitize callback on field value.

@param string $value
@return string
Run sanitize callback on field value .