Skip to content

Commit

Permalink
Add missing Encrypter methods from PR laravel#49962
Browse files Browse the repository at this point in the history
  • Loading branch information
valorin committed Feb 3, 2024
1 parent c3ac147 commit fa82a19
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Illuminate/Contracts/Encryption/Encrypter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

0 comments on commit fa82a19

Please sign in to comment.