| Total Complexity | 1 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | trait ServesFeatures |
||
| 10 | { |
||
| 11 | use MarshalsJobs; |
||
| 12 | use DispatchesJobs; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Serve the given feature with the given arguments. |
||
| 16 | * |
||
| 17 | * @param $feature |
||
| 18 | * @param array $arguments |
||
| 19 | * |
||
| 20 | * @return mixed |
||
| 21 | * @throws \Exception |
||
| 22 | */ |
||
| 23 | 10 | public function serve($feature, array $arguments = []) |
|
| 28 |