\Phergie\Irc\EventServerEventInterface

Interface for an event sent by a server.

Summary

Methods
Constants
setMessage()
getMessage()
setConnection()
getConnection()
setParams()
getParams()
setCommand()
getCommand()
getServername()
setServername()
getCode()
setCode()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setMessage()

setMessage(string $message)

Sets the original unparsed message.

Parameters

string $message

getMessage()

getMessage() : string

Returns the original unparsed message.

Returns

string

setConnection()

setConnection(\Phergie\Irc\ConnectionInterface $connection)

Sets metadata for the connection over which the message was received.

Parameters

\Phergie\Irc\ConnectionInterface $connection

getConnection()

getConnection() : \Phergie\Irc\ConnectionInterface

Returns metadata for the connection over which the message was received.

Returns

\Phergie\Irc\ConnectionInterface

setParams()

setParams(array $params)

Sets the command parameters parsed from the message.

Parameters

array $params

Enumerated array of parameter values

getParams()

getParams() : array

Returns the command parameters parsed from the message.

Returns

array —

Enumerated array of parameter values

setCommand()

setCommand(string $command)

Sets the command parsed from the message.

Parameters

string $command

getCommand()

getCommand() : string

Returns the command parsed from the message.

Returns

string

getServername()

getServername() : string

Returns the server name.

Returns

string

setServername()

setServername(string $servername)

Sets the server name.

Parameters

string $servername

getCode()

getCode() : string

Returns the descriptive code for the command.

Returns

string

setCode()

setCode(string $code)

Sets the descriptive code for the command.

Parameters

string $code