-
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a wrapper namespace to prevent conflicts with other plugins using…
… the same JWT library
- Loading branch information
Showing
5 changed files
with
27 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* Define a `wrapper namespace` to load the Firebase's JWT & Key classes | ||
* and prevent conflicts with other plugins using the same library | ||
* with different versions. | ||
* | ||
* @link https://enriquechavez.co | ||
* @since 1.3.2 | ||
* @author marioshtika https://github.com/marioshtika | ||
*/ | ||
|
||
namespace Tmeister\Firebase\JWT; | ||
|
||
class JWT extends \Firebase\JWT\JWT { | ||
} | ||
|
||
class Key extends \Firebase\JWT\Key { | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters