DataTransferObjects
4 years ago
Factories
4 years ago
Models
4 years ago
Repositories
4 years ago
ValueObjects
4 years ago
ServiceProvider.php
4 years ago
ServiceProvider.php
29 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Donors; |
| 4 | |
| 5 | use Give\Donors\Repositories\DonorRepositoryProxy; |
| 6 | use Give\ServiceProviders\ServiceProvider as ServiceProviderInterface; |
| 7 | |
| 8 | /** |
| 9 | * @since 2.19.6 |
| 10 | */ |
| 11 | class ServiceProvider implements ServiceProviderInterface |
| 12 | { |
| 13 | |
| 14 | /** |
| 15 | * @inheritDoc |
| 16 | */ |
| 17 | public function register() |
| 18 | { |
| 19 | give()->singleton('donors', DonorRepositoryProxy::class); |
| 20 | } |
| 21 | |
| 22 | /** |
| 23 | * @inheritDoc |
| 24 | */ |
| 25 | public function boot() |
| 26 | { |
| 27 | } |
| 28 | } |
| 29 |