Mongolid\Util\CacheComponent::get PHP 메소드

get() 공개 메소드

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