Supported   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 6
Bugs 1 Features 2
Metric Value
wmc 1
c 6
b 1
f 2
lcom 1
cbo 1
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getData() 0 12 1
1
<?php
2
namespace Cassandra\Response;
3
4
class Supported extends Response {
5
	public function getData(){
6
		$this->_stream->offset(0);
7
		/**
8
		 * TODO Check it!
9
		 * Indicates which startup options are supported by the server. This message
10
		 * comes as a response to an OPTIONS message.
11
		 *
12
		 * The body of a SUPPORTED message is a [string multimap]. This multimap gives
13
		 * for each of the supported STARTUP options, the list of supported values.
14
		 */
15
		return $this->_stream->readStringMultimap();
16
	}
17
}
18