src/JRpc/Json/Server/Server.php
public function getCache()
    {
        if (null === $this->cache) {
            if (isset($this->options['cache']) && is_string($this->options['cache'])) {
                $this->cache = $this->container->get($this->options['cache']);
            }
        }
        
        return $this->cache;
    }
public function getCache()
    {
        if (null === $this->cache) {
            if (isset($this->options['cache']) && is_string($this->options['cache'])) {
                $this->cache = $this->container->get($this->options['cache']);
            }
        }
        
        return $this->cache;
    }
public function getCache ( ) { if ( null === $ this -> cache ) { if ( isset ( $ this -> options [ 'cache' ] ) && is_string ( $ this -> options [ 'cache' ] ) ) { $ this -> cache = $ this -> container -> get ( $ this -> options [ 'cache' ] ) ; } } return $ this -> cache ; }
Get Storage if define in config.

@return \Zend\Cache\Storage\StorageInterface|null
Get Storage if define in config .