]>
Commit | Line | Data |
---|---|---|
50d6d455 D |
1 | <?php |
2 | ||
3 | namespace UnrealIRCd\Contracts; | |
4 | ||
80bc3098 D |
5 | use stdClass; |
6 | ||
50d6d455 D |
7 | interface Contract |
8 | { | |
9 | /** | |
10 | * Fetch all of a specific item. | |
11 | * | |
80bc3098 | 12 | * @return stdClass |
50d6d455 | 13 | */ |
80bc3098 | 14 | public function get(): stdClass; |
50d6d455 D |
15 | |
16 | /** | |
17 | * Fetch data about a specific item. | |
18 | * | |
50d6d455 | 19 | * @param array $params |
80bc3098 | 20 | * @return stdClass |
50d6d455 | 21 | */ |
80bc3098 | 22 | public function show(array $params): stdClass; |
50d6d455 | 23 | } |