handlers[$method][$path] ?? null; } /** * @param $method * @param $path * @param $handler */ public function add($method, $path, $handler) { $this->handlers[$method][$path] = $handler; } }