| Server IP : 69.39.225.240 / Your IP : 216.73.216.138 Web Server : Apache System : Linux bronze7.serverhost.net 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : reademotions ( 1074) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/reademotions/www/wp-content/plugins/pods/src/Pods/ |
Upload File : |
<?php
namespace Pods;
use tad_DI52_ServiceProvider;
/**
* Class Service_Provider
*
* @since 2.8.0
*/
class Service_Provider extends tad_DI52_ServiceProvider {
/**
* Registers the classes and functionality needed.
*
* @since 2.8.0
*/
public function register() {
$this->container->singleton( Config_Handler::class, Config_Handler::class );
$this->container->singleton( Permissions::class, Permissions::class );
$this->container->singleton( Pod_Manager::class, Pod_Manager::class );
$this->container->singleton( Static_Cache::class, Static_Cache::class );
$this->container->singleton( Data\Map_Field_Values::class, Data\Map_Field_Values::class );
$this->container->singleton( Theme\WP_Query_Integration::class, Theme\WP_Query_Integration::class );
$this->container->singleton( Tools\Repair::class, Tools\Repair::class );
$this->hooks();
}
/**
* Hooks all the methods and actions the class needs.
*
* @since 2.8.0
*/
protected function hooks() {
add_action( 'init', $this->container->callback( Theme\WP_Query_Integration::class, 'hook' ), 20 );
}
}