]> jfr.im git - irc/unrealircd/unrealircd-rpc-php.git/commit
Major API break:
authorBram Matthys <redacted>
Fri, 6 Jan 2023 14:06:13 +0000 (15:06 +0100)
committerBram Matthys <redacted>
Fri, 6 Jan 2023 14:06:13 +0000 (15:06 +0100)
commit7c7017a2e17d5c69be4a4a0248294ed1171af512
treee299e869aeb3d344817e3a51a700e367050a56f6
parent657dad63d2254494e6db6e590cd5bb9066cfaf8e
Major API break:
* Change all the ->get() to ->getAll()
  and all the ->show() to ->get()
  .. eg for User, Channel, etc.
* You now only create an API connection once, as it was always
  intended:
  $rpc = new UnrealIRCd\Connection(..)
* You can then either use the non-connection classes like this:
  $user = new User($rpc);
  $result = $user->getAll();
  Or simply use this style:
  $result = $rpc->user()->getAll();
* More breakage to come
lib/Ban.php
lib/Channel.php
lib/Connection.php
lib/Contracts/Contract.php
lib/User.php