[TASK] Made all constuctors and destructors public.
[TASK] Added some DocComments for the IrcClient.
This commit is contained in:
@@ -43,7 +43,7 @@ class Client_ClientManager {
|
||||
* Default constructor.
|
||||
* @return void
|
||||
*/
|
||||
function __construct() {
|
||||
public function __construct() {
|
||||
$this->connectionPool = new Connection_ConnectionPool();
|
||||
$this->clientPool = array();
|
||||
$this->registeredProtocols = array();
|
||||
@@ -55,7 +55,7 @@ class Client_ClientManager {
|
||||
* Default destructor. Closes connections before being killed.
|
||||
* @return void
|
||||
*/
|
||||
function __destruct() {
|
||||
public function __destruct() {
|
||||
unset($this->clientPool);
|
||||
unset($this->connectionPool);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user