Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AbstractCloner.php

function AbstractCloner::setMinDepth

Sets the minimum tree depth where we are guaranteed to clone all the items. After this depth is reached, only setMaxItems items will be cloned.

File

vendor/symfony/var-dumper/Cloner/AbstractCloner.php, line 281

Class

AbstractCloner
AbstractCloner implements a generic caster mechanism for objects and resources.

Namespace

Symfony\Component\VarDumper\Cloner

Code

public function setMinDepth(int $minDepth) : void {
    $this->minDepth = $minDepth;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal