WordPress at a glance
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.0.0

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