public function __construct(Benchmark $benchmark, callable $trace) { $this->benchmark = $benchmark; $this->trace = $trace; }