Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd14
/
wp-content
/
plugins
/
woocommerce
/
vendor
/
automattic
/
jetpack-connection
/
src
/
File Content:
interface-storage-provider.php
<?php /** * Storage Provider Interface for External Storage. * * Defines the contract that all external storage providers must implement * to be compatible with the Jetpack Connection External Storage system. * * @package automattic/jetpack-connection */ namespace Automattic\Jetpack\Connection; /** * Interface for external storage providers. * * All storage providers must implement this interface to ensure * compatibility with the External_Storage system. * * @since 6.18.0 */ interface Storage_Provider_Interface { /** * Check if the storage provider is available in the current environment. * * This method should return true if the storage backend is accessible * and ready to handle requests, false otherwise. * * @since 6.18.0 * * @return bool True if storage is available, false otherwise. */ public function is_available(); /** * Determine if this provider should handle the given option. * * This method allows providers to selectively handle certain options * based on their configuration, environment, or other criteria. * * @since 6.18.0 * * @param string $option_name The name of the option to check. * @return bool True if this provider should handle the option, false otherwise. */ public function should_handle( $option_name ); /** * Retrieve a value from external storage. * * This method should return the value from external storage, or null * if the value is not found or cannot be retrieved. * * @since 6.18.0 * * @param string $option_name The name of the option to retrieve. * @return mixed The option value, or null if not found/available. * @throws \Exception If there's an error retrieving the value. */ public function get( $option_name ); /** * Get the environment identifier for this provider. * * This method should return a unique identifier for the environment * or storage type (e.g., 'atomic', 'vip', 'kubernetes', etc.). * Used for logging and debugging purposes. * * @since 6.18.0 * * @return string The environment identifier. */ public function get_environment_id(); }
Submit
FILE
FOLDER
Name
Size
Permission
Action
identity-crisis
---
0755
sso
---
0755
traits
---
0755
webhooks
---
0755
class-authorize-json-api.php
8900 bytes
0644
class-client.php
16207 bytes
0644
class-connection-assets.php
900 bytes
0644
class-connection-notice.php
8089 bytes
0644
class-error-handler.php
33669 bytes
0644
class-external-storage.php
8256 bytes
0644
class-heartbeat.php
8006 bytes
0644
class-initial-state.php
1935 bytes
0644
class-manager.php
89192 bytes
0644
class-nonce-handler.php
5812 bytes
0644
class-package-version-tracker.php
5686 bytes
0644
class-package-version.php
648 bytes
0644
class-partner-coupon.php
11202 bytes
0644
class-partner.php
5072 bytes
0644
class-plugin-storage.php
7741 bytes
0644
class-plugin.php
2459 bytes
0644
class-rest-authentication.php
6302 bytes
0644
class-rest-connector.php
34784 bytes
0644
class-secrets.php
8608 bytes
0644
class-server-sandbox.php
7863 bytes
0644
class-terms-of-service.php
2798 bytes
0644
class-tokens-locks.php
1745 bytes
0644
class-tokens.php
21301 bytes
0644
class-tracking.php
10100 bytes
0644
class-urls.php
5091 bytes
0644
class-user-account-status.php
3632 bytes
0644
class-users-connection-admin.php
4549 bytes
0644
class-utils.php
3922 bytes
0644
class-webhooks.php
7066 bytes
0644
class-xmlrpc-async-call.php
2685 bytes
0644
class-xmlrpc-connector.php
1918 bytes
0644
interface-manager.php
298 bytes
0644
interface-storage-provider.php
2118 bytes
0644
N4ST4R_ID | Naxtarrr