WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionInterface::addMethodCall() public WC 1.0

Add a method to be invoked

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

No Hooks.

Return

self.

Usage

$DefinitionInterface = new DefinitionInterface();
$DefinitionInterface->addMethodCall( $method, $args ) : DefinitionInterface;
$method(string) (required)
-
$args(array)
-
Default: []

Code of DefinitionInterface::addMethodCall() WC 5.7.1

public function addMethodCall(string $method, array $args = []) : DefinitionInterface;