Resque\Socket\Server::close PHP Method

close() public method

Closes the socket on shutdown
public close ( )
    public function close()
    {
        foreach ($this->clients as &$client) {
            $this->disconnect($client, 'Receiver shutting down... Goodbye.');
        }
        socket_close($this->socket);
    }