* @param string $key * @return false|mixed|string */
(string $key)
| 518 | * @return false|mixed|string |
| 519 | */ |
| 520 | protected function parseKey(string $key) |
| 521 | { |
| 522 | if (Str::startsWith($key, $prefix = 'base64:')) { |
| 523 | $key = base64_decode(\crmeb\utils\Str::after($key, $prefix)); |
| 524 | } |
| 525 | |
| 526 | return $key; |
| 527 | } |
| 528 | |
| 529 | /** |
| 530 | * @return string |