Automattic\WooCommerce\Vendor\League\Container\ServiceProvider

ServiceProviderAggregateInterface::add()publicWC 1.0

Add a service provider to the aggregate.

Method of the class: ServiceProviderAggregateInterface{}

No Hooks.

Return

self.

Usage

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

ServiceProviderAggregateInterface::add() code WC 7.1.0

public function add($provider) : ServiceProviderAggregateInterface;