W3cubDocs

/Symfony 4.1

SyntheticTrait

trait SyntheticTrait

Methods

$this synthetic(bool $synthetic = true)

Sets whether this definition is synthetic, that is not constructed by the container, but dynamically injected.

Details

final $this synthetic(bool $synthetic = true)

Sets whether this definition is synthetic, that is not constructed by the container, but dynamically injected.

Parameters

bool $synthetic

Return Value

$this