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.

Метод класса: ServiceProviderInterface{}

Хуков нет.

Возвращает

self.

Использование

$ServiceProviderInterface = new ServiceProviderInterface();
$ServiceProviderInterface->setIdentifier( $id ) : ServiceProviderInterface;
$id(строка) (обязательный)
-

Код ServiceProviderInterface::setIdentifier() WC 8.7.0

public function setIdentifier(string $id) : ServiceProviderInterface;