Automattic\WooCommerce\Internal
RestApiControllerBase::get_rest_api_namespace()
Get the WooCommerce REST API namespace for the class. It must be unique across all other derived classes and the keys returned by the 'get_vX_controllers' methods in includes/rest-api/Server.php. Note that this value is NOT related to the route namespace.
Метод класса: RestApiControllerBase{}
Хуков нет.
Возвращает
Строку
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_rest_api_namespace(): string;
Код RestApiControllerBase::get_rest_api_namespace() RestApiControllerBase::get rest api namespace WC 9.7.1
abstract protected function get_rest_api_namespace(): string;