]> jfr.im git - irc/unrealircd/unrealircd-rpc-php.git/blobdiff - lib/Connection.php
Add $rpc->stats()->get();
[irc/unrealircd/unrealircd-rpc-php.git] / lib / Connection.php
index e5d5805154396799dd78a7f18c6952c85256ce9b..dcfb14740ab26de1f451f8e82be19fefdea72f1c 100644 (file)
@@ -142,6 +142,11 @@ class Connection
         return new Rpc($this);
     }
 
+    public function stats(): Stats
+    {
+        return new Stats($this);
+    }
+
     public function user(): User
     {
         return new User($this);
@@ -161,18 +166,22 @@ class Connection
     {
         return new Spamfilter($this);
     }
+
     public function nameban(): NameBan
     {
         return new NameBan($this);
     }
+
     public function server(): Server
     {
         return new Server($this);
     }
+
     public function serverbanexception(): ServerBanException
     {
         return new ServerBanException($this);
     }
+
     public function log(): Log
     {
         return new Log($this);