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 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/DependencyInjection/Loader/Configurator/Traits/SyntheticTrait.html