Automattic\WooCommerce\Vendor\League\Container\ServiceProvider

ServiceProviderInterface::provides()publicWC 1.0

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() code WC 8.6.1

public function provides(string $service) : bool;