Automattic\WooCommerce\Vendor\League\Container\ServiceProvider

AbstractServiceProvider::provides()publicWC 1.0

{@inheritdoc}

Method of the class: AbstractServiceProvider{}

No Hooks.

Return

null. Nothing (null).

Usage

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

AbstractServiceProvider::provides() code WC 8.9.0

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