]> jfr.im git - irc/unrealircd/unrealircd-rpc-php.git/blob - lib/Contracts/Contract.php
Merge pull request #5 from unrealircd/wip
[irc/unrealircd/unrealircd-rpc-php.git] / lib / Contracts / Contract.php
1 <?php
2
3 namespace UnrealIRCd\Contracts;
4
5 use stdClass;
6
7 interface Contract
8 {
9 /**
10 * Fetch all of a specific item.
11 *
12 * @return stdClass
13 */
14 public function get(): stdClass;
15
16 /**
17 * Fetch data about a specific item.
18 *
19 * @param array $params
20 * @return stdClass
21 */
22 public function show(array $params): stdClass;
23 }