symfony / 4.0 / symfony / component / dependencyinjection / loader / configurator / traits / autoconfiguretrait.html

AutoconfigureTrait

trait AutoconfigureTrait

Methods

$this autoconfigure(bool $autoconfigured = true)

Sets whether or not instanceof conditionals should be prepended with a global set.

Details

final $this autoconfigure(bool $autoconfigured = true)

Sets whether or not instanceof conditionals should be prepended with a global set.

Parameters

bool $autoconfigured

Return Value

$this

Exceptions

InvalidArgumentException when a parent is already set