Container.php
6 months ago
FeatureProviderInterface.php
4 years ago
FeatureServiceProvider.php
4 years ago
Resolver.php
6 months ago
ServiceProvider.php
3 years ago
ServiceProvider.php
33 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPStaging\Framework\DI; |
| 4 | |
| 5 | abstract class ServiceProvider extends \WPStaging\Vendor\lucatume\DI52\ServiceProvider |
| 6 | { |
| 7 | public function register() |
| 8 | { |
| 9 | $this->registerClasses(); |
| 10 | $this->addHooks(); |
| 11 | } |
| 12 | |
| 13 | /** |
| 14 | * Register classes in the container. |
| 15 | * |
| 16 | * @return void |
| 17 | */ |
| 18 | protected function registerClasses() |
| 19 | { |
| 20 | // No-op by default. |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Enqueue hooks. |
| 25 | * |
| 26 | * @return void |
| 27 | */ |
| 28 | protected function addHooks() |
| 29 | { |
| 30 | // No-op by default. |
| 31 | } |
| 32 | } |
| 33 |