Automattic\WooCommerce\Vendor\League\Container\Inflector
InflectorAggregate::inflect()
{@inheritdoc}
Method of the class: InflectorAggregate{}
No Hooks.
Return
null
. Nothing (null).
Usage
$InflectorAggregate = new InflectorAggregate(); $InflectorAggregate->inflect( $object );
- $object (required)
- -
InflectorAggregate::inflect() InflectorAggregate::inflect code WC 9.6.1
public function inflect($object) { foreach ($this->getIterator() as $inflector) { $type = $inflector->getType(); if (! $object instanceof $type) { continue; } $inflector->setLeagueContainer($this->getLeagueContainer()); $inflector->inflect($object); } return $object; }