22 lines
405 B
PHP
22 lines
405 B
PHP
<?php
|
|
namespace Stemcell\Sms\Model;
|
|
|
|
use Magento\Framework\App\DeploymentConfig;
|
|
|
|
class Redis extends \Magento\Framework\Cache\Backend\Redis
|
|
{
|
|
public function __construct(DeploymentConfig $config)
|
|
{
|
|
parent::__construct(
|
|
$config->get('redis')
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @return \Credis_Client
|
|
*/
|
|
public function getRedis() {
|
|
return $this->_redis;
|
|
}
|
|
}
|