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

Breadcrumb

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

function Data::withMaxItemsPerDepth

Limits the number of elements per depth level.

File

vendor/symfony/var-dumper/Cloner/Data.php, line 185

Class

Data
@author Nicolas Grekas <p@tchwork.com>

Namespace

Symfony\Component\VarDumper\Cloner

Code

public function withMaxItemsPerDepth(int $maxItemsPerDepth) : static {
    $data = clone $this;
    $data->maxItemsPerDepth = $maxItemsPerDepth;
    return $data;
}
RSS feed
Powered by Drupal