public function add_wp()
    {
        global $wp;

        if (! $wp instanceof WP) {
            return array();
        }

        $output = \get_object_vars($wp);

        unset($output['private_query_vars'], $output['public_query_vars']);

        return \array_filter($output);
    }