Automattic\WooCommerce\Vendor\League\Container\Definition

Definition::addMethodCalls()publicWC 1.0

{@inheritdoc}

Method of the class: Definition{}

No Hooks.

Return

null. Nothing.

Usage

$Definition = new Definition();
$Definition->addMethodCalls( $methods ) : DefinitionInterface;
$methods(array)
-
Default: []

Definition::addMethodCalls() code WC 7.1.0

public function addMethodCalls(array $methods = []) : DefinitionInterface
{
    foreach ($methods as $method => $args) {
        $this->addMethodCall($method, $args);
    }

    return $this;
}