Automattic\WooCommerce\Vendor\League\Container\Inflector

Inflector::invokeMethodpublicWC 1.0

{@inheritdoc}

Method of the class: Inflector{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Inflector = new Inflector();
$Inflector->invokeMethod( $name, $args ) : InflectorInterface;
$name(string) (required)
.
$args(array) (required)
.

Inflector::invokeMethod() code WC 9.9.3

public function invokeMethod(string $name, array $args) : InflectorInterface
{
    $this->methods[$name] = $args;

    return $this;
}