public function delete($pattern, $action) { $this->addRoute('DELETE', $pattern, $action); return $this; }