Hoa central
Public Member Functions | Protected Attributes | List of all members
Hoa\Websocket\Exception\CloseError Class Reference
Inheritance diagram for Hoa\Websocket\Exception\CloseError:

Public Member Functions

 setErrorCode ($code)
 
 getErrorCode ()
 

Protected Attributes

 $_errorCode = null
 

Detailed Description

Class .

Extending the class.

Definition at line 47 of file CloseError.php.

Member Function Documentation

Hoa\Websocket\Exception\CloseError::getErrorCode ( )

Get the error code.

Returns
int

Definition at line 78 of file CloseError.php.

Hoa\Websocket\Exception\CloseError::setErrorCode (   $code)

Set the error code.

Parameters
int$codeCode.
Returns
int

Definition at line 65 of file CloseError.php.

66  {
67  $old = $this->_errorCode;
68  $this->_errorCode = $code;
69 
70  return $old;
71  }

Member Data Documentation

Hoa\Websocket\Exception\CloseError::$_errorCode = null
protected

Definition at line 56 of file CloseError.php.


The documentation for this class was generated from the following file: