Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Store; | |
| 6 | ||
| 7 | use Stewart\Contracts\App\AppId; | |
| 8 | use Stewart\Contracts\Exception\StoreException; | |
| 9 | use Stewart\Contracts\Store\ReadableStore; | |
| 10 | use Stewart\Contracts\Store\Store; | |
| 11 | use Stewart\Store\Exception\StoreSetupException; | |
| 12 | ||
| 13 | interface Stores | |
| 14 | { | |
| 15 | /** @throws StoreException */ | |
| 16 | public function openAppStore(AppId $appId): Store; | |
| 17 | ||
| 18 | /** @throws StoreException */ | |
| 19 | public function openGlobalStore(): Store; | |
| 20 | ||
| 21 | /** @throws StoreSetupException|StoreException */ | |
| 22 | public function openPeerStoreForReading(AppId $appId): ReadableStore; | |
| 23 | } |