private static function generateTab($depth)
    {
        $builder = '';

        if ($depth > 0) {
            $builder .= '  ';
        }

        for ($i = 1; $i < $depth; $i++) {
            $builder .= '|  ';
        }

        $builder .= '+--';

        return $builder;
    }