WordPress at a glance
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

Definition::setAlias() public WC 1.0

{@inheritdoc}

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

No Hooks.

Return

Null. Nothing.

Usage

$Definition = new Definition();
$Definition->setAlias( $id ) : DefinitionInterface;
$id(string) (required)
-

Code of Definition::setAlias() WC 5.0.0

<?php
public function setAlias(string $id) : DefinitionInterface
{
    $this->alias = $id;

    return $this;
}