WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionInterface::setAlias() public WC 1.0

Set the alias of the definition.

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

No Hooks.

Return

DefinitionInterface.

Usage

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

Code of DefinitionInterface::setAlias() WC 5.8.0

public function setAlias(string $id) : DefinitionInterface;