MCPcopy Create free account
hub / github.com/crmeb/CRMchat / parseKey

Method parseKey

crmchat/app/controller/InstallController.php:520–527  ·  view source on GitHub ↗

* @param string $key * @return false|mixed|string */

(string $key)

Source from the content-addressed store, hash-verified

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

Callers 1

indexMethod · 0.95

Calls 1

afterMethod · 0.80

Tested by

no test coverage detected