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

File

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

Class

Profile
Profile.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

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