src/IrcParser.php
protected function handlePART($origin, $msg)
    {
        // :nick1!ident@host PART #chan [reason]
        return $this->connection->dispatch(
            $this->makeEvent(
                '!Part',
                $msg[0],
                $origin,
                isset($msg[1]) ? $msg[1] : ''
            )
        );
    }
protected function handlePART($origin, $msg)
    {
        // :nick1!ident@host PART #chan [reason]
        return $this->connection->dispatch(
            $this->makeEvent(
                '!Part',
                $msg[0],
                $origin,
                isset($msg[1]) ? $msg[1] : ''
            )
        );
    }
protected function handlePART ( $ origin , $ msg ) { // :nick1!ident@host PART #chan [reason] return $ this -> connection -> dispatch ( $ this -> makeEvent ( '!Part' , $ msg [ 0 ] , $ origin , isset ( $ msg [ 1 ] ) ? $ msg [ 1 ] : '' ) ) ; }
Processes a message of type PART.

\param string $origin
Origin of the message to process.

\param Erebot::Interfaces::IrcTextWrapper $msg
The message to process, wrapped in
a special object that makes it easier
to analyze each token separately.
Processes a message of type PART .