Automattic\WooCommerce\Vendor\League\Container\ServiceProvider
ServiceProviderAggregateInterface::provides()
Determines whether a service is provided by the aggregate.
Метод класса: ServiceProviderAggregateInterface{}
Хуков нет.
Возвращает
true|false
.
Использование
$ServiceProviderAggregateInterface = new ServiceProviderAggregateInterface(); $ServiceProviderAggregateInterface->provides( $service ) : bool;
- $service(строка) (обязательный)
- -
Код ServiceProviderAggregateInterface::provides() ServiceProviderAggregateInterface::provides WC 9.3.1
public function provides(string $service) : bool;