/**
 * Method to unserialize the input.
 *
 * @param   string  $input  The serialized input.
 *
 * @return  Input  The input object.
 *
 * @since   3.0.0
 * @deprecated  5.0  Use Joomla\Input\Input instead
 */
public function unserialize($input)
{
    // Unserialize the options, data, and inputs.
    list($this->options, $this->data, $this->inputs) = unserialize($input);
    // Load the filter.
    if (isset($this->options['filter'])) {
        $this->filter = $this->options['filter'];
    } else {
        $this->filter = InputFilter::getInstance();
    }
}