src/Itkg/Core/Cache/Adapter/Chain/UseFirstWorkingStrategy.php
public function get(array $adapters, CacheableInterface $item)
    {
        foreach ($adapters as $adapter) {
            try {
                return $adapter->get($item);
            } catch (\Exception $e) {
                continue;
            }
        }

        throw new UnhandledCacheException('No cache system is available');
    }
public function get(array $adapters, CacheableInterface $item)
    {
        foreach ($adapters as $adapter) {
            try {
                return $adapter->get($item);
            } catch (\Exception $e) {
                continue;
            }
        }

        throw new UnhandledCacheException('No cache system is available');
    }
public function get ( array $ adapters , CacheableInterface $ item ) { foreach ( $ adapters as $ adapter ) { try { return $ adapter -> get ( $ item ) ; } catch ( \ Exception $ e ) { continue ; } } throw new UnhandledCacheException ( 'No cache system is available' ) ; }
Get cache from first up adapter

@param array $adapters
@param CacheableInterface $item
@throws UnhandledCacheException
@return mixed
Get cache from first up adapter