WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Inflector

InflectorAggregateInterface::add() public WC 1.0

Add an inflector to the aggregate.

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

No Hooks.

Return

Inflector.

Usage

$InflectorAggregateInterface = new InflectorAggregateInterface();
$InflectorAggregateInterface->add( $type, $callback ) : Inflector;
$type(string) (required)
-
$callback(callable)
-
Default: null

Code of InflectorAggregateInterface::add() WC 5.8.0

public function add(string $type, callable $callback = null) : Inflector;