WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionInterface::addArgument() public WC 1.0

Add an argument to be injected.

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

No Hooks.

Return

self.

Usage

$DefinitionInterface = new DefinitionInterface();
$DefinitionInterface->addArgument( $arg ) : DefinitionInterface;
$arg(mixed) (required)
-

Code of DefinitionInterface::addArgument() WC 5.8.0

public function addArgument($arg) : DefinitionInterface;