[TASK] Made all constuctors and destructors public.

[TASK] Added some DocComments for the IrcClient.
This commit is contained in:
Jan Philipp Timme
2010-12-18 14:42:56 +00:00
parent 03a4dfff71
commit 26036e9994
11 changed files with 39 additions and 16 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ class Socket_SocketHandler {
* @param ressource $socket
* @return void
*/
function __construct($socket) {
public function __construct($socket) {
if(is_resource($socket) === FALSE) throw new Exception_SocketException("Invalid socket ressource!", 1289663108);
$this->socket = $socket;
$this->is_bound = FALSE;
@@ -46,7 +46,7 @@ class Socket_SocketHandler {
* Destructor. Closes socket.
* @return void
*/
function __destruct() {
public function __destruct() {
$this->close();
}