public function Profile::addChild

Adds the child token

Parameters

Profile $child The child Profile:

1 call to Profile::addChild()
Profile::setChildren in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/Profile.php
Sets children profiler.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/Profile.php, line 202

Class

Profile
Profile.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function addChild(Profile $child) {
  $this->children[] = $child;
  $child
    ->setParent($this);
}