1: <?php declare(strict_types=1);
2:
3: namespace Salient\Contract\Container;
4:
5: /**
6: * Implemented by service providers with container bindings
7: *
8: * @api
9: */
10: interface HasBindings
11: {
12: /**
13: * Get bindings to register with a container
14: *
15: * @return array<class-string,class-string>
16: */
17: public static function getBindings(): array;
18:
19: /**
20: * Get shared bindings to register with a container
21: *
22: * @return array<class-string|int,class-string>
23: */
24: public static function getSingletons(): array;
25: }
26: