# invoke

operator fun String.invoke(configuration: T.() -> Unit): ERROR CLASS: Symbol not found for NamedDomainObjectProvider<T>(source)

Configures an object by name, without triggering its creation or configuration, failing if there is no such object.

#### See also

NamedDomainObjectContainer.named
NamedDomainObjectProvider.configure

operator fun <U : T> String.invoke(type: KClass<U>, configuration: U.() -> Unit): ERROR CLASS: Symbol not found for NamedDomainObjectProvider<U>(source)

Configures an object by name, without triggering its creation or configuration, failing if there is no such object.

#### See also

PolymorphicDomainObjectContainer.named
NamedDomainObjectProvider.configure

operator fun <U : T> String.invoke(type: KClass<U>): ERROR CLASS: Symbol not found for NamedDomainObjectProvider<U>(source)

Locates an object by name and type, without triggering its creation or configuration, failing if there is no such object.

#### See also

PolymorphicDomainObjectContainer.named