[TASK] Updated variable names to lowerCamelCase.
This commit is contained in:
@@ -15,18 +15,18 @@ abstract class Protocol_AbstractProtocolHandler {
|
||||
* Buffer for data that was received by the Client.
|
||||
* @var Misc_Buffer
|
||||
*/
|
||||
protected $buffer_incoming;
|
||||
protected $bufferIncoming;
|
||||
|
||||
/**
|
||||
* Buffer for data that will be sent by the Client.
|
||||
* @var Misc_Buffer
|
||||
*/
|
||||
protected $buffer_outgoing;
|
||||
protected $bufferOutgoing;
|
||||
|
||||
/**
|
||||
* This function will be called by the constructor.
|
||||
* It will create the necessary instances of Misc_Buffer and
|
||||
* put them in $buffer_incoming and $buffer_outgoing.
|
||||
* put them in $bufferIncoming and $bufferOutgoing.
|
||||
* @return void
|
||||
*/
|
||||
abstract public function createBuffers();
|
||||
@@ -49,7 +49,7 @@ abstract class Protocol_AbstractProtocolHandler {
|
||||
|
||||
/**
|
||||
* Main worker function of the ProtocolHandler.
|
||||
* Will fetch data from the buffer_incoming, process it,
|
||||
* Will fetch data from the bufferIncoming, process it,
|
||||
* and create a ProtocolContentObject out of it that will be returned to the client.
|
||||
* @return mixed instance of Protocol_AbstractProtocolContentObject
|
||||
*/
|
||||
@@ -61,7 +61,7 @@ abstract class Protocol_AbstractProtocolHandler {
|
||||
* @return void
|
||||
*/
|
||||
public function pushRawData($rawData) {
|
||||
$this->buffer_incoming->addData($rawData);
|
||||
$this->bufferIncoming->addData($rawData);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -69,7 +69,7 @@ abstract class Protocol_AbstractProtocolHandler {
|
||||
* @return string
|
||||
*/
|
||||
public function getRawData() {
|
||||
return $this->buffer_outgoing->getAllBufferContents();
|
||||
return $this->bufferOutgoing->getAllBufferContents();
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user