WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Inflector

Inflector::__construct() public WC 1.0

Construct.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of Inflector::__construct() WC 5.8.0

public function __construct(string $type, callable $callback = null)
{
    $this->type     = $type;
    $this->callback = $callback;
}