protected function getAdapter(AdapterInterface $client, array $config)
    {
        $file = array_get($config, 'file', 'flysystem.json');
        $ttl = array_get($config, 'ttl');

        return new Adapter($client, $file, $ttl);
    }
protected function getAdapter(AdapterInterface $client, array $config)
    {
        $file = array_get($config, 'file', 'flysystem.json');
        $ttl = array_get($config, 'ttl');

        return new Adapter($client, $file, $ttl);
    }
protected function getAdapter ( AdapterInterface $ client , array $ config ) { $ file = array_get ( $ config , 'file' , 'flysystem.json' ) ; $ ttl = array_get ( $ config , 'ttl' ) ; return new Adapter ( $ client , $ file , $ ttl ) ; }
Get the adapter cache adapter.

@param \League\Flysystem\AdapterInterface $client
@param string[]                           $config

@return \League\Flysystem\Cached\Storage\Adapter
Get the adapter cache adapter .