PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 2.9.19.5
Pods – Custom Content Types and Fields v2.9.19.5
2.7.31.4 2.8.23.5 2.9.19.5 3.0.10.5 3.1.4.3 3.2.8.4 3.3.9.2 2.8.23.4 2.9.19.4 3.0.10.4 3.1.4.2 3.2.8.3 3.3.9.1 trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / src / Pods / Service_Provider_Base.php
pods / src / Pods Last commit date
API 2 days ago Admin 2 days ago Blocks 2 days ago CLI 2 days ago Data 2 days ago Integrations 2 days ago REST 2 days ago Theme 2 days ago Tools 2 days ago Whatsit 2 days ago Config_Handler.php 2 days ago Integration.php 2 days ago Permissions.php 2 days ago Pod_Manager.php 2 days ago Service_Provider.php 2 days ago Service_Provider_Base.php 2 days ago Service_Provider_Fallback.php 2 days ago Static_Cache.php 2 days ago Whatsit.php 2 days ago Wisdom_Tracker.php 2 days ago
Service_Provider_Base.php
40 lines
1 <?php
2
3 namespace Pods;
4
5 use tad_DI52_ServiceProvider as DI52_Service_Provider;
6 use TEC\Common\Contracts\Service_Provider as TEC_Service_Provider;
7
8 if ( class_exists( TEC_Service_Provider::class ) ) {
9 /**
10 * The service provider logic.
11 *
12 * @since 2.9.18
13 */
14 abstract class Service_Provider_Base extends TEC_Service_Provider {
15 // This is just a class that wraps the TEC service provider class.
16 }
17 } elseif ( class_exists( DI52_Service_Provider::class ) ) {
18 /**
19 * The service provider logic.
20 *
21 * @since 2.9.18
22 */
23 abstract class Service_Provider_Base extends DI52_Service_Provider {
24 // This is just a class that wraps the DI52 service provider class.
25 }
26 } else {
27 pods_debug_log( 'Unexpected service provider conflict.' );
28
29 /**
30 * The service provider logic.
31 *
32 * This class will still fail because it's not fully compatible with $provider->container->singleton() and other calls.
33 *
34 * @since 2.9.18
35 */
36 abstract class Service_Provider_Base extends Service_Provider_Fallback {
37 // This is just a class that wraps the fallback service provider class.
38 }
39 }
40