src/Exporter/InlineExporter.php
public function setDepth(int $depth): int
    {
        $oldDepth = $this->depth;
        $this->depth = $depth;

        return $oldDepth;
    }
public function setDepth(int $depth): int
    {
        $oldDepth = $this->depth;
        $this->depth = $depth;

        return $oldDepth;
    }
public function setDepth ( int $ depth ) : int { $ oldDepth = $ this -> depth ; $ this -> depth = $ depth ; return $ oldDepth ; }
Set the default depth.

Negative depths are treated as infinite depth.

@param int $depth The depth.

@return int The previous depth.
Set the default depth .