public function type($key)
	{
		if (Str::endsWith($key, ':queued')) {
			$key = str_replace(':queued', '', $key);
		}

		return $this->database->type($key);
	}
public function type($key)
	{
		if (Str::endsWith($key, ':queued')) {
			$key = str_replace(':queued', '', $key);
		}

		return $this->database->type($key);
	}
public function type ( $ key ) { if ( Str :: endsWith ( $ key , ':queued' ) ) { $ key = str_replace ( ':queued' , '' , $ key ) ; } return $ this -> database -> type ( $ key ) ; }
Returns the type of a Redis key.

@param  string  $key
@return string
Returns the type of a Redis key .