Automattic\WooCommerce\Vendor\League\Container\Inflector
Inflector::__construct
Construct.
Method of the class: Inflector{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$Inflector = new Inflector(); $Inflector->__construct( $type, ?callable $callback );
- $type(string) (required)
- .
- ?callable $callback
- .
Default: null
Inflector::__construct() Inflector:: construct code WC 9.9.5
public function __construct(string $type, ?callable $callback = null) { $this->type = $type; $this->callback = $callback; }