public function type( $args, $assoc_args ) {
		$message = WP_CLI\Utils\wp_get_cache_type();
		WP_CLI::line( $message );
	}
public function type( $args, $assoc_args ) {
		$message = WP_CLI\Utils\wp_get_cache_type();
		WP_CLI::line( $message );
	}
public function type ( $ args , $ assoc_args ) { $ message = WP_CLI \ Utils \ wp_get_cache_type ( ) ; WP_CLI :: line ( $ message ) ; }
Attempts to determine which object cache is being used.

Note that the guesses made by this function are based on the
WP_Object_Cache classes that define the 3rd party object cache extension.
Changes to those classes could render problems with this function's
ability to determine which object cache is being used.

## EXAMPLES

# Check cache type.
$ wp cache type
Default
Attempts to determine which object cache is being used .