You are here

public function Profile::setChildren in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Profiler/Profile.php \Symfony\Component\HttpKernel\Profiler\Profile::setChildren()

Sets children profiler.

Parameters

Profile[] $children An array of Profile:

File

vendor/symfony/http-kernel/Profiler/Profile.php, line 206

Class

Profile
Profile.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function setChildren(array $children) {
  $this->children = array();
  foreach ($children as $child) {
    $this
      ->addChild($child);
  }
}