/**
 * Method to unserialize the input.
 *
 * @param   string  $input  The serialized input.
 *
 * @return  Input  The input object.
 *
 * @since   3.0.0
 * @deprecated  5.0  Use the `joomla/console` package instead
 */
public function unserialize($input)
{
    // Unserialize the executable, args, options, data, and inputs.
    list($this->executable, $this->args, $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();
    }
}