PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.1.4.3
Pods – Custom Content Types and Fields v3.1.4.3
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.php
pods / src / Pods Last commit date
API 16 hours ago Admin 16 hours ago Blocks 16 hours ago CLI 16 hours ago Container 16 hours ago Data 16 hours ago Integrations 16 hours ago REST 16 hours ago Theme 16 hours ago Tools 16 hours ago Whatsit 16 hours ago Config_Handler.php 16 hours ago Integration.php 16 hours ago Permissions.php 16 hours ago Pod_Manager.php 16 hours ago Service_Provider.php 16 hours ago Service_Provider_Base.php 16 hours ago Service_Provider_Fallback.php 16 hours ago Static_Cache.php 16 hours ago Whatsit.php 16 hours ago Wisdom_Tracker.php 16 hours ago
Service_Provider.php
43 lines
1 <?php
2
3 namespace Pods;
4
5 use PodsMeta;
6
7 /**
8 * Class Service_Provider
9 *
10 * @since 2.8.0
11 */
12 class Service_Provider extends \Pods\Service_Provider_Base {
13
14 /**
15 * Registers the classes and functionality needed.
16 *
17 * @since 2.8.0
18 */
19 public function register() {
20 $this->container->singleton( Config_Handler::class, Config_Handler::class );
21 $this->container->singleton( Permissions::class, Permissions::class );
22 $this->container->singleton( Pod_Manager::class, Pod_Manager::class );
23 $this->container->singleton( Static_Cache::class, Static_Cache::class );
24 $this->container->bind( Data\Conditional_Logic::class, Data\Conditional_Logic::class );
25 $this->container->singleton( Data\Map_Field_Values::class, Data\Map_Field_Values::class );
26 $this->container->singleton( Theme\WP_Query_Integration::class, Theme\WP_Query_Integration::class );
27 $this->container->singleton( Tools\Repair::class, Tools\Repair::class );
28 $this->container->singleton( Tools\Reset::class, Tools\Reset::class );
29 $this->container->singleton( PodsMeta::class, PodsMeta::class );
30
31 $this->hooks();
32 }
33
34 /**
35 * Hooks all the methods and actions the class needs.
36 *
37 * @since 2.8.0
38 */
39 protected function hooks() {
40 add_action( 'init', $this->container->callback( Theme\WP_Query_Integration::class, 'hook' ), 20 );
41 }
42 }
43