Automattic\WooCommerce\Vendor\League\Container\Definition

Definition::addTag()publicWC 1.0

{@inheritdoc}

Method of the class: Definition{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Definition::addTag() code WC 9.0.1

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

    return $this;
}