From 053e926ee3aab64510a541ff7007f554822813dd Mon Sep 17 00:00:00 2001 From: Alex Standiford Date: Sat, 3 Dec 2022 08:54:46 -0600 Subject: [PATCH] Adds with and has request --- lib/Interfaces/Has_Request.php | 13 +++++++++++++ lib/Traits/With_Request.php | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 lib/Interfaces/Has_Request.php create mode 100644 lib/Traits/With_Request.php diff --git a/lib/Interfaces/Has_Request.php b/lib/Interfaces/Has_Request.php new file mode 100644 index 0000000..423b116 --- /dev/null +++ b/lib/Interfaces/Has_Request.php @@ -0,0 +1,13 @@ +request; + } + + public function set_request( Request $request ): static{ + $this->request = $request; + + return $this; + } + +} \ No newline at end of file