From 40997195b7ee07cb1bda978186c1804371e1f16e Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Sat, 13 Nov 2021 09:22:25 +0000 Subject: Create site --- src/DTS/Old.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/DTS/Old.php (limited to 'src/DTS/Old.php') diff --git a/src/DTS/Old.php b/src/DTS/Old.php new file mode 100644 index 0000000..0641329 --- /dev/null +++ b/src/DTS/Old.php @@ -0,0 +1,29 @@ +old[$field] = $request[$field]; + } + } + } + + public function get(string $key, $default = null) + { + return $this->old[$key] ?? $default; + } +} -- cgit v1.2.3-13-gbd6f