public function Profile::setChildren

Sets children profiler.

Parameters

Profile[] $children An array of Profile:

File

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

Class

Profile
Profile.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

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