src/Business/Connection.php
public function quit()
    {
        // this command will end the connection and therefor not send any more
        // messages (not even the return code). For this reason we have to send
        // an OK message manually.
        $this->getClient()->write($this->getSerializer()->getStatusMessage('OK'));
        $this->getClient()->end();

        return true;
    }
public function quit()
    {
        // this command will end the connection and therefor not send any more
        // messages (not even the return code). For this reason we have to send
        // an OK message manually.
        $this->getClient()->write($this->getSerializer()->getStatusMessage('OK'));
        $this->getClient()->end();

        return true;
    }
StatusReply