public static function connect() {
		if (self::$memcached === null) {
			$config = \Skeleton\Object\Config::$cache_handler_config;
			self::$memcached = new \Memcached();
			self::$memcached->setOption(\Memcached::OPT_SERIALIZER, \Memcached::SERIALIZER_IGBINARY);
			self::$memcached->setOption(\Memcached::OPT_BINARY_PROTOCOL, true);
			self::$memcached->setOption(\Memcached::OPT_NO_BLOCK, true);
			self::$memcached->setOption(\Memcached::OPT_TCP_NODELAY, true);
			self::$memcached->addServers([
				[$config['hostname'], $config['port']]
			]);
		}

		return self::$memcached;
	}
public static function connect() {
		if (self::$memcached === null) {
			$config = \Skeleton\Object\Config::$cache_handler_config;
			self::$memcached = new \Memcached();
			self::$memcached->setOption(\Memcached::OPT_SERIALIZER, \Memcached::SERIALIZER_IGBINARY);
			self::$memcached->setOption(\Memcached::OPT_BINARY_PROTOCOL, true);
			self::$memcached->setOption(\Memcached::OPT_NO_BLOCK, true);
			self::$memcached->setOption(\Memcached::OPT_TCP_NODELAY, true);
			self::$memcached->addServers([
				[$config['hostname'], $config['port']]
			]);
		}

		return self::$memcached;
	}
public static function connect ( ) { if ( self :: $ memcached === null ) { $ config = \ Skeleton \ Object \ Config :: $ cache_handler_config ; self :: $ memcached = new \ Memcached ( ) ; self :: $ memcached -> setOption ( \ Memcached :: OPT_SERIALIZER , \ Memcached :: SERIALIZER_IGBINARY ) ; self :: $ memcached -> setOption ( \ Memcached :: OPT_BINARY_PROTOCOL , true ) ; self :: $ memcached -> setOption ( \ Memcached :: OPT_NO_BLOCK , true ) ; self :: $ memcached -> setOption ( \ Memcached :: OPT_TCP_NODELAY , true ) ; self :: $ memcached -> addServers ( [ [ $ config [ 'hostname' ] , $ config [ 'port' ] ] ] ) ; } return self :: $ memcached ; }
Get the current memcached object

@access public
@return Memcache d$memcached
Get the current memcached object