WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

Definition::addTag() public WC 1.0

{@inheritdoc}

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

No Hooks.

Return

null. Nothing.

Usage

$Definition = new Definition();
$Definition->addTag( $tag ) : DefinitionInterface;
$tag(string) (required)
-

Code of Definition::addTag() WC 5.7.1

public function addTag(string $tag) : DefinitionInterface
{
    $this->tags[$tag] = true;

    return $this;
}