public function renderCapturedVar($capturedData, $seekPath = array())
    {
        $data = unserialize($capturedData);
        // The seek method was added in Symfony 3.2; emulate the behavior via SeekingData for older
        // Symfony versions.
        if (!method_exists($data, 'seek')) {
            $data = new SeekingData($data->getRawData());
        }

        foreach ($seekPath as $key) {
            $data = $data->seek($key);
        }

        return $this->dump($data);
    }