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

Breadcrumb

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

function AbstractCloner::setMaxItems

Sets the maximum number of items to clone past the minimum depth in nested structures.

File

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

Class

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

Namespace

Symfony\Component\VarDumper\Cloner

Code

public function setMaxItems(int $maxItems) : void {
    $this->maxItems = $maxItems;
}

API Navigation

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