1: | <?php declare(strict_types=1); |
2: | |
3: | namespace Salient\Contract\Container\Event; |
4: | |
5: | use Salient\Contract\Container\ContainerInterface; |
6: | |
7: | /** |
8: | * @api |
9: | */ |
10: | interface BeforeGlobalContainerSetEvent |
11: | { |
12: | /** |
13: | * Get the container that will be set, or null if it will be unset |
14: | */ |
15: | public function getContainer(): ?ContainerInterface; |
16: | } |
17: |