WordPress at a glance
function is not described

Automattic\WooCommerce\Vendor\League\Container

Container::inflector() public WC 1.0

Allows for manipulation of specific types on resolution.

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

No Hooks.

Return

InflectorInterface.

Usage

$Container = new Container();
$Container->inflector( $type, $callback ) : InflectorInterface;
$type(string) (required)
-
$callback(callable)
-

Code of Container::inflector() WC 5.0.0

<?php
public function inflector(string $type, callable $callback = null) : InflectorInterface
{
    return $this->inflectors->add($type, $callback);
}