W3cubDocs

/Symfony 4.1

ConfiguratorTrait

trait ConfiguratorTrait

Methods

$this configurator(string|array $configurator)

Sets a configurator to call after the service is fully initialized.

Details

final $this configurator(string|array $configurator)

Sets a configurator to call after the service is fully initialized.

Parameters

string|array $configurator A PHP callable reference

Return Value

$this