Exemple #1
0
 /**
  * @param mixed $servers
  * @param bool $compress
  * @see Cluster::__construct
  */
 public function __construct($servers = 'tcp://localhost', $compress = false)
 {
     parent::__construct($servers);
     if ($compress && defined('MEMCACHE_COMPRESSED')) {
         $this->compress = \MEMCACHE_COMPRESSED;
     }
 }