@@ -15,6 +15,9 @@ discard block |
||
| 15 | 15 | |
| 16 | 16 | interface PrioritizedServiceRegistryInterface |
| 17 | 17 | { |
| 18 | + /** |
|
| 19 | + * @return \Zend\Stdlib\PriorityQueue |
|
| 20 | + */ |
|
| 18 | 21 | public function all(): iterable; |
| 19 | 22 | |
| 20 | 23 | /** |
@@ -22,6 +25,7 @@ discard block |
||
| 22 | 25 | * |
| 23 | 26 | * @throws ExistingServiceException |
| 24 | 27 | * @throws \InvalidArgumentException |
| 28 | + * @return void |
|
| 25 | 29 | */ |
| 26 | 30 | public function register($service, int $priority = 0): void; |
| 27 | 31 | |
@@ -29,6 +33,7 @@ discard block |
||
| 29 | 33 | * @param object $service |
| 30 | 34 | * |
| 31 | 35 | * @throws NonExistingServiceException |
| 36 | + * @return void |
|
| 32 | 37 | */ |
| 33 | 38 | public function unregister($service): void; |
| 34 | 39 | |
@@ -22,11 +22,13 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @throws ExistingServiceException |
| 24 | 24 | * @throws \InvalidArgumentException |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function register(string $identifier, $service): void; |
| 27 | 28 | |
| 28 | 29 | /** |
| 29 | 30 | * @throws NonExistingServiceException |
| 31 | + * @return void |
|
| 30 | 32 | */ |
| 31 | 33 | public function unregister(string $identifier): void; |
| 32 | 34 | |