1: <?php declare(strict_types=1);
2:
3: namespace Salient\Contract\Core\Provider;
4:
5: /**
6: * @api
7: *
8: * @template TProvider of ProviderInterface
9: */
10: interface HasProvider
11: {
12: /**
13: * Get the object's provider
14: *
15: * @return TProvider|null
16: */
17: public function getProvider(): ?ProviderInterface;
18: }
19: