public function dumpAll(array $vars, array $base)
    {
        if (\array_keys($vars) !== \array_keys($base)) {
            throw new InvalidArgumentException('Kint::dumpAll requires arrays of identical size and keys as arguments');
        }

        $output = $this->renderer->preRender();

        if ($vars === array()) {
            $output .= $this->renderer->renderNothing();
        }

        foreach ($vars as $key => $arg) {
            if (!$base[$key] instanceof BasicObject) {
                throw new InvalidArgumentException('Kint::dumpAll requires all elements of the second argument to be BasicObject instances');
            }
            $output .= $this->dumpVar($arg, $base[$key]);
        }

        $output .= $this->renderer->postRender();

        return $output;
    }
public function dumpAll(array $vars, array $base)
    {
        if (\array_keys($vars) !== \array_keys($base)) {
            throw new InvalidArgumentException('Kint::dumpAll requires arrays of identical size and keys as arguments');
        }

        $output = $this->renderer->preRender();

        if ($vars === array()) {
            $output .= $this->renderer->renderNothing();
        }

        foreach ($vars as $key => $arg) {
            if (!$base[$key] instanceof BasicObject) {
                throw new InvalidArgumentException('Kint::dumpAll requires all elements of the second argument to be BasicObject instances');
            }
            $output .= $this->dumpVar($arg, $base[$key]);
        }

        $output .= $this->renderer->postRender();

        return $output;
    }
public function dumpAll ( array $ vars , array $ base ) { if ( \ array_keys ( $ vars ) !== \ array_keys ( $ base ) ) { throw new InvalidArgumentException ( 'Kint::dumpAll requires arrays of identical size and keys as arguments' ) ; } $ output = $ this -> renderer -> preRender ( ) ; if ( $ vars === array ( ) ) { $ output .= $ this -> renderer -> renderNothing ( ) ; } foreach ( $ vars as $ key => $ arg ) { if ( ! $ base [ $ key ] instanceof BasicObject ) { throw new InvalidArgumentException ( 'Kint::dumpAll requires all elements of the second argument to be BasicObject instances' ) ; } $ output .= $ this -> dumpVar ( $ arg , $ base [ $ key ] ) ; } $ output .= $ this -> renderer -> postRender ( ) ; return $ output ; }
Renders a list of vars including the pre and post renders.

@param array         $vars Data to dump
@param BasicObject[] $base Base objects

@return string
Renders a list of vars including the pre and post renders .