Askedio\LaravelRatchet\RatchetServer::attach PHP Method

attach() private method

private attach ( )
    private function attach()
    {
        $this->clients->attach($this->conn);
        $this->console->info(sprintf('Connected: %d', $this->conn->resourceId));
        $this->connections = count($this->clients);
        $this->console->info(sprintf('%d %s', $this->connections, str_plural('connection', $this->connections)));
        return $this;
    }