Object/Cache.php
public function setArguments(Kernel $kernel, $config){
        
        $provider = $config['provider'];
        $prefix = $config['prefix'];
        $timestamp = $config['timestamp'];
        
        $this->setProvider(new $provider());
        $this->provider->setKernel($kernel);
        $this->provider->setPrefix($prefix);
        $this->provider->setTimestamp($timestamp);
    }
public function setArguments(Kernel $kernel, $config){
        
        $provider = $config['provider'];
        $prefix = $config['prefix'];
        $timestamp = $config['timestamp'];
        
        $this->setProvider(new $provider());
        $this->provider->setKernel($kernel);
        $this->provider->setPrefix($prefix);
        $this->provider->setTimestamp($timestamp);
    }
Set arguments

Initialyze the cache object

@param string $providerClass - the provider class