Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders
OrderAttributionServiceProvider::register()
Register the classes.
Метод класса: OrderAttributionServiceProvider{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$OrderAttributionServiceProvider = new OrderAttributionServiceProvider(); $OrderAttributionServiceProvider->register();
Код OrderAttributionServiceProvider::register() OrderAttributionServiceProvider::register WC 9.6.0
public function register() { $this->share_with_implements_tags( WPConsentAPI::class ); $this->share_with_implements_tags( OrderAttributionController::class ) ->addArguments( array( LegacyProxy::class, FeaturesController::class, WPConsentAPI::class, ) ); $this->share_with_implements_tags( OrderAttributionBlocksController::class ) ->addArguments( array( StoreApi::container()->get( ExtendSchema::class ), FeaturesController::class, OrderAttributionController::class, ) ); }