public function __construct($options = null) { return parent::__construct($options); }
/** * @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]); }
public function __construct(array $options = []) { $options = array_merge(Config::get('cache.drivers.memcached.options'), $options); parent::__construct($options); }