WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\ServiceProvider

ServiceProviderInterface::provides() public WC 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.

{} It's a method of the class: ServiceProviderInterface{}

No Hooks.

Return

true|false.

Usage

$ServiceProviderInterface = new ServiceProviderInterface();
$ServiceProviderInterface->provides( $service ) : bool;
$service(string) (required)
-

Code of ServiceProviderInterface::provides() WC 5.7.1

public function provides(string $service) : bool;