trait SyntheticTrait
Hierarchy
- trait \Symfony\Component\DependencyInjection\Loader\Configurator\Traits\SyntheticTrait
File
-
vendor/
symfony/ dependency-injection/ Loader/ Configurator/ Traits/ SyntheticTrait.php, line 14
Namespace
Symfony\Component\DependencyInjection\Loader\Configurator\TraitsView source
trait SyntheticTrait {
/**
* Sets whether this definition is synthetic, that is not constructed by the
* container, but dynamically injected.
*
* @return $this
*/
public final function synthetic(bool $synthetic = true) : static {
$this->definition
->setSynthetic($synthetic);
return $this;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
SyntheticTrait::synthetic | final public | function | Sets whether this definition is synthetic, that is not constructed by the container, but dynamically injected. |