Automattic\WooCommerce\Vendor\League\Container\ServiceProvider
ServiceProviderInterface::provides()
Returns a boolean if checking whether this provider provides a specific service or returns an array of provided services if no argument passed.
Method of the class: ServiceProviderInterface{}
No Hooks.
Return
true|false
.
Usage
$ServiceProviderInterface = new ServiceProviderInterface(); $ServiceProviderInterface->provides( $service ) : bool;
- $service(string) (required)
- -
ServiceProviderInterface::provides() ServiceProviderInterface::provides code WC 9.6.0
public function provides(string $service) : bool;