Automattic\WooCommerce\Vendor\League\Container\ServiceProvider
ServiceProviderAggregateInterface::register()
Invokes the register method of a provider that provides a specific service.
Method of the class: ServiceProviderAggregateInterface{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$ServiceProviderAggregateInterface = new ServiceProviderAggregateInterface(); $ServiceProviderAggregateInterface->register( $service );
- $service(string) (required)
- -
ServiceProviderAggregateInterface::register() ServiceProviderAggregateInterface::register code WC 9.8.5
public function register(string $service);