public function __construct($name, TimingsHandler $parent = null) { $this->name = $name; if ($parent !== null) { $this->parent = $parent; } self::$HANDLERS[spl_object_hash($this)] = $this; }