示例#1
0
 public function __construct($options = null)
 {
     return parent::__construct($options);
 }
示例#2
0
 /**
  * @param string $host
  * @param mixed $port
  * @param string $prefix
  * @param mixed $lifetime
  */
 public function __construct($host, $port, $prefix, $lifetime)
 {
     parent::__construct(['servers' => [['host' => $host, 'port' => $port, 'weight' => 1]], 'client' => [], 'lifetime' => $lifetime, 'prefix' => $prefix]);
 }
示例#3
0
 public function __construct(array $options = [])
 {
     $options = array_merge(Config::get('cache.drivers.memcached.options'), $options);
     parent::__construct($options);
 }