protected function redirect(string $target, array $params = [], bool $clear_post = true)
    {
        if (empty($params)) {
            $params = $this->params;
        }

        $this->redirect = [
            $target,
            $params,
            $clear_post
        ];

        return $this;
    }