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

Method getValues

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

Source from the content-addressed store, hash-verified

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

Callers 1

getValueMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected