public function check($driver)
    {
        switch ($driver) {
            case self::DRIVER_MEMCACHE:
                return extension_loaded('memcache');
            case self::DRIVER_MEMCACHED:
                return extension_loaded('memcached');
        }
        return false;
    }
public function check($driver)
    {
        switch ($driver) {
            case self::DRIVER_MEMCACHE:
                return extension_loaded('memcache');
            case self::DRIVER_MEMCACHED:
                return extension_loaded('memcached');
        }
        return false;
    }
public function check ( $ driver ) { switch ( $ driver ) { case self :: DRIVER_MEMCACHE : return extension_loaded ( 'memcache' ) ; case self :: DRIVER_MEMCACHED : return extension_loaded ( 'memcached' ) ; } return false ; }
Checks installed extensions
@return bool
Checks installed extensions