Automattic\WooCommerce\Vendor\GraphQL\Type\Definition
NonNull::getInnermostType
Метод класса: NonNull{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$NonNull = new NonNull(); $NonNull->getInnermostType(): NamedType;
Код NonNull::getInnermostType() NonNull::getInnermostType WC 11.0.1
public function getInnermostType(): NamedType
{
$type = $this->getWrappedType();
while ($type instanceof WrappingType) {
$type = $type->getWrappedType();
}
assert($type instanceof NamedType, 'known because we unwrapped all the way down');
return $type;
}