From fa82a1955b1d054b1153999a3037d79d762b762a Mon Sep 17 00:00:00 2001 From: Stephen Rees-Carter Date: Sat, 3 Feb 2024 22:54:25 +1000 Subject: [PATCH] Add missing Encrypter methods from PR #49962 --- src/Illuminate/Contracts/Encryption/Encrypter.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Illuminate/Contracts/Encryption/Encrypter.php b/src/Illuminate/Contracts/Encryption/Encrypter.php index 5ac1102ebc29..ee555eaa245f 100644 --- a/src/Illuminate/Contracts/Encryption/Encrypter.php +++ b/src/Illuminate/Contracts/Encryption/Encrypter.php @@ -32,4 +32,18 @@ public function decrypt($payload, $unserialize = true); * @return string */ public function getKey(); + + /** + * Get the current encryption key and all previous encryption keys. + * + * @return array + */ + public function getAllKeys(); + + /** + * Get the previous encryption keys. + * + * @return array + */ + public function getPreviousKeys(); }