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

Breadcrumb

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

function Data::withRefHandles

Enables/disables objects' identifiers tracking.

Parameters

bool $useRefHandles False to hide global ref. handles:

File

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

Class

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

Namespace

Symfony\Component\VarDumper\Cloner

Code

public function withRefHandles(bool $useRefHandles) : static {
    $data = clone $this;
    $data->useRefHandles = $useRefHandles ? -1 : 0;
    return $data;
}
RSS feed
Powered by Drupal