MCPcopy Create free account
hub / github.com/Rello/analytics / getValues

Method getValues

lib/DataSession.php:41–52  ·  view source on GitHub ↗
(string $key)

Source from the content-addressed store, hash-verified

39 }
40
41 protected function getValues(string $key): array
42 {
43 $values = $this->session->get($key);
44 if ($values === null) {
45 return [];
46 }
47 $values = json_decode($values, true);
48 if ($values === null) {
49 return [];
50 }
51 return $values;
52 }
53
54 public function setShareAuthenticated(string $token, string $passwordHash): void
55 {

Callers 1

getValueMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected