Свойство | Type | Description | |
---|---|---|---|
$api_client | WC_Connect_API_Client | ||
$logger | WC_Connect_Logger | ||
$namespace | string | Endpoint namespace. | |
$rest_base | string | Route base. | |
$settings_store | WC_Connect_Service_Settings_Store |
Méthode | Description | |
---|---|---|
__construct ( WC_Connect_API_Client $api_client, WC_Connect_Service_Settings_Store $settings_store, WC_Connect_Logger $logger ) | ||
register_routes ( ) | Register the routes for settings. | |
update_items ( $request ) | ||
update_items_permissions_check ( $request ) | Validate the requester's permissions |
public __construct ( WC_Connect_API_Client $api_client, WC_Connect_Service_Settings_Store $settings_store, WC_Connect_Logger $logger ) | ||
$api_client | WC_Connect_API_Client | |
$settings_store | WC_Connect_Service_Settings_Store | |
$logger | WC_Connect_Logger |
public update_items_permissions_check ( $request ) |
protected WC_Connect_API_Client $api_client | ||
Résultat | WC_Connect_API_Client |