# polymorphicDomainObjectContainer

inline fun <T : Any> ObjectFactory.polymorphicDomainObjectContainer(elementType: KClass<T>): ExtensiblePolymorphicDomainObjectContainer<T>(source)
inline fun <T : Any> ObjectFactory.polymorphicDomainObjectContainer(elementType: KClass<T>): ExtensiblePolymorphicDomainObjectContainer<T>(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.model.ObjectFactory.polymorphicDomainObjectContainer.

#### Since

6.1

#### See also

org.gradle.api.model.ObjectFactory.polymorphicDomainObjectContainer