WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\ServiceProvider

AbstractServiceProvider::provides() public WC 1.0

{@inheritdoc}

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

No Hooks.

Return

null. Nothing.

Usage

$AbstractServiceProvider = new AbstractServiceProvider();
$AbstractServiceProvider->provides( $alias ) : bool;
$alias(string) (required)
-

Code of AbstractServiceProvider::provides() WC 5.6.0

public function provides(string $alias) : bool
{
    return in_array($alias, $this->provides, true);
}