API
2 years ago
Admin
2 years ago
Blocks
2 years ago
CLI
3 years ago
Container
2 years ago
Data
2 years ago
Integrations
2 years ago
REST
2 years ago
Theme
3 years ago
Tools
2 years ago
WP
2 years ago
Whatsit
2 years ago
Config_Handler.php
2 years ago
Integration.php
4 years ago
Permissions.php
2 years ago
Pod_Manager.php
2 years ago
Service_Provider.php
2 years ago
Service_Provider_Base.php
3 years ago
Service_Provider_Fallback.php
3 years ago
Static_Cache.php
4 years ago
Whatsit.php
2 years ago
Wisdom_Tracker.php
3 years ago
Service_Provider_Fallback.php
42 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Pods; |
| 4 | |
| 5 | /** |
| 6 | * The service provider logic. |
| 7 | * |
| 8 | * @since 2.9.18 |
| 9 | */ |
| 10 | abstract class Service_Provider_Fallback { |
| 11 | /** |
| 12 | * Determine whether the service provider will be a deferred one or not. |
| 13 | * |
| 14 | * @return bool Whether the service provider will be a deferred one or not. |
| 15 | * @since 2.9.18 |
| 16 | * |
| 17 | */ |
| 18 | public function isDeferred() { |
| 19 | return false; |
| 20 | } |
| 21 | |
| 22 | /** |
| 23 | * Get the classes or interfaces bound and provided by the service provider. |
| 24 | * |
| 25 | * @return array The classes or interfaces bound and provided by the service provider. |
| 26 | * @since 2.9.18 |
| 27 | * |
| 28 | */ |
| 29 | public function provides() { |
| 30 | return []; |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Bind and set up implementations at boot time. |
| 35 | * |
| 36 | * @since 2.9.18 |
| 37 | */ |
| 38 | public function boot() { |
| 39 | // Nothing to do here. |
| 40 | } |
| 41 | } |
| 42 |