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\Contracts\Exposure\Action; | |
| 6 | ||
| 7 | use Stewart\Contracts\EventStream; | |
| 8 | use Stewart\Contracts\Exception\ExposureException; | |
| 9 | use Stewart\Contracts\Exposure\ExposedEntityKey; | |
| 10 | ||
| 11 | interface ExposedAction | |
| 12 | { | |
| 13 | public function getKey(): ExposedEntityKey; | |
| 14 | ||
| 15 | public function getConfig(): ActionConfig; | |
| 16 | ||
| 17 | /** @throws ExposureException */ | |
| 18 | public function updateConfig(ActionConfig $config): void; | |
| 19 | ||
| 20 | /** @return EventStream<ActionCall> */ | |
| 21 | public function watchCalls(): EventStream; | |
| 22 | ||
| 23 | /** @throws ExposureException */ | |
| 24 | public function remove(): void; | |
| 25 | } |