]> jfr.im git - irc/unrealircd/unrealircd-rpc-php.git/blame_incremental - lib/Contracts/Contract.php
Merge pull request #5 from unrealircd/wip
[irc/unrealircd/unrealircd-rpc-php.git] / lib / Contracts / Contract.php
... / ...
CommitLineData
1<?php
2
3namespace UnrealIRCd\Contracts;
4
5use stdClass;
6
7interface 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}