src/DebugBar/DataFormatter/DebugBarVarDumper.php
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);
    }
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);
    }
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 ) ; }
Renders previously-captured data from captureVar to HTML and returns it as a string.

@param string $capturedData Captured data from captureVar.
@param array $seekPath Pass an array of keys to traverse if you only want to render a subset
of the data.
@return string HTML rendering of the variable.
Renders previously - captured data from captureVar to HTML and returns it as a string .