Mongolid\Util\CacheComponent::get PHP Méthode

get() public méthode

Retrieve an item from the cache by key.
public get ( string $key ) : mixed
$key string Cache key of the item to be retrieved.
Résultat mixed
    public function get(string $key)
    {
        if ($this->has($key)) {
            return $this->storage[$key];
        }
    }