Automattic\WooCommerce\Vendor\League\Container\Inflector
Inflector::__construct()
Construct.
Метод класса: Inflector{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Inflector = new Inflector(); $Inflector->__construct( $type, $callback );
- $type(строка) (обязательный)
- -
- $callback(callable|null)
- -
По умолчанию: null
Код Inflector::__construct() Inflector:: construct WC 8.7.0
public function __construct(string $type, callable $callback = null) { $this->type = $type; $this->callback = $callback; }