function LeaveProfileNode::__construct

File

core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/LeaveProfileNode.php, line 15

Class

LeaveProfileNode
Represents a profile leave node.

Namespace

Drupal\sdc_other_node_visitor\Twig\Profiler

Code

public function __construct(string $varName) {
  parent::__construct([], [
    'var_name' => $varName,
  ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.