Automattic\WooCommerce\Vendor\League\Container\Definition
DefinitionAggregate::resolveTagged()
{@inheritdoc}
Метод класса: DefinitionAggregate{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$DefinitionAggregate = new DefinitionAggregate(); $DefinitionAggregate->resolveTagged( $tag, $new ) : array;
- $tag(строка) (обязательный)
- -
- $new(true|false)
- -
По умолчанию: false
Код DefinitionAggregate::resolveTagged() DefinitionAggregate::resolveTagged WC 7.5.1
public function resolveTagged(string $tag, bool $new = false) : array { $arrayOf = []; foreach ($this->getIterator() as $definition) { if ($definition->hasTag($tag)) { $arrayOf[] = $definition->setLeagueContainer($this->getLeagueContainer())->resolve($new); } } return $arrayOf; }