/**
  * @param float $start
  * @param float $end
  * @param \Psr\Http\Message\RequestInterface $request
  * @param \Psr\Http\Message\ResponseInterface $response
  */
 public function add($start, $end, RequestInterface $request, ResponseInterface $response = null)
 {
     $description = $this->describe($request, $response);
     $name = spl_object_hash($request);
     $this->timeline->addEvent($name, $description, $start, $end);
 }