WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\ServiceProvider

ServiceProviderAggregateInterface::add() public WC 1.0

Add a service provider to the aggregate.

{} It's a method of the class: ServiceProviderAggregateInterface{}

No Hooks.

Return

self.

Usage

$ServiceProviderAggregateInterface = new ServiceProviderAggregateInterface();
$ServiceProviderAggregateInterface->add( $provider ) : ServiceProviderAggregateInterface;
$provider *(string ServiceProviderInterface) (required)*

Code of ServiceProviderAggregateInterface::add() WC 5.8.0

public function add($provider) : ServiceProviderAggregateInterface;