Automattic\WooCommerce\Vendor\League\Container\ServiceProvider

ServiceProviderInterface::setIdentifier()publicWC 1.0

Set a custom id for the service provider. This enables registering the same service provider multiple times.

Method of the class: ServiceProviderInterface{}

No Hooks.

Return

self.

Usage

$ServiceProviderInterface = new ServiceProviderInterface();
$ServiceProviderInterface->setIdentifier( $id ) : ServiceProviderInterface;
$id(string) (required)
-

ServiceProviderInterface::setIdentifier() code WC 8.7.0

public function setIdentifier(string $id) : ServiceProviderInterface;