Automattic\WooCommerce\Vendor\League\Container\ServiceProvider
ServiceProviderInterface::setIdentifier()
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() ServiceProviderInterface::setIdentifier code WC 9.6.1
public function setIdentifier(string $id) : ServiceProviderInterface;