Neos\Cache\Frontend\FrontendInterface::get PHP Method

get() public method

Finds and returns data from the cache.
public get ( string $entryIdentifier ) : mixed
$entryIdentifier string Something which identifies the cache entry - depends on concrete cache
return mixed
    public function get($entryIdentifier);

Usage Example

 /**
  * Fetches an entry from the cache.
  *
  * @param string $id The id of the cache entry to fetch.
  * @return mixed The cached data or FALSE, if no cache entry exists for the given id.
  */
 public function fetch($id)
 {
     return $this->cache->get($this->convertCacheIdentifier($id));
 }
All Usage Examples Of Neos\Cache\Frontend\FrontendInterface::get