Supported::getData()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 4
Bugs 1 Features 2
Metric Value
c 4
b 1
f 2
dl 0
loc 12
rs 9.4286
cc 1
eloc 3
nc 1
nop 0
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