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() ServiceProviderInterface::provides WC 5.0.0
public function provides(string $service) : bool;