src/Transient_API.php
public function get_key( $key = '', $is_option = false ) {
		if ( true === $is_option ) {
			return $this->option_prefix . $key . $this->option_surfix;
		}

		return $this->transient_prefix . $key . $this->transient_surfix;
	}
public function get_key( $key = '', $is_option = false ) {
		if ( true === $is_option ) {
			return $this->option_prefix . $key . $this->option_surfix;
		}

		return $this->transient_prefix . $key . $this->transient_surfix;
	}
public function get_key ( $ key = '' , $ is_option = false ) { if ( true === $ is_option ) { return $ this -> option_prefix . $ key . $ this -> option_surfix ; } return $ this -> transient_prefix . $ key . $ this -> transient_surfix ; }
Returns Key Based on Requirement.

@param string $key
@param bool   $is_option

@return string
Returns Key Based on Requirement .