1: | <?php declare(strict_types=1); |
2: | |
3: | namespace Salient\Contract\Container; |
4: | |
5: | /** |
6: | * Implemented by service providers that specify which of their interfaces can |
7: | * be registered with a container |
8: | * |
9: | * @api |
10: | */ |
11: | interface HasServices |
12: | { |
13: | /** |
14: | * Get a list of services provided by the class |
15: | * |
16: | * @return class-string[] |
17: | */ |
18: | public static function getServices(): array; |
19: | } |
20: |