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