protected function getConnectionMask(ConnectionInterface $connection)
    {
        return strtolower(sprintf(
            '%s!%s@%s',
            $connection->getNickname(),
            $connection->getUsername(),
            $connection->getServerHostname()
        ));
    }
protected function getConnectionMask(ConnectionInterface $connection)
    {
        return strtolower(sprintf(
            '%s!%s@%s',
            $connection->getNickname(),
            $connection->getUsername(),
            $connection->getServerHostname()
        ));
    }
protected function getConnectionMask ( ConnectionInterface $ connection ) { return strtolower ( sprintf ( '%s!%s@%s' , $ connection -> getNickname ( ) , $ connection -> getUsername ( ) , $ connection -> getServerHostname ( ) ) ) ; }
Returns the mask string for a given connection.

@param \Phergie\Irc\ConnectionInterface $connection
@return string
Returns the mask string for a given connection .