Skip to content

Latest commit

 

History

History
58 lines (24 loc) · 1.15 KB

InnoCraft-Experiments-Storage-Transient.md

File metadata and controls

58 lines (24 loc) · 1.15 KB

InnoCraft\Experiments\Storage\Transient

Only meant for development in tests. If you wanted to use this for some reason in production, $data should be static in case the same experiment is created several times during one http requests

Methods

get

string|integer InnoCraft\Experiments\Storage\StorageInterface::get(string $namespace, string $key)

Arguments

  • $namespace string
  • $key string

set

mixed InnoCraft\Experiments\Storage\StorageInterface::set(string $namespace, string $key, string|integer $value)

Arguments

  • $namespace string
  • $key string
  • $value string|integer