Sets whether this definition is synthetic, that is not constructed by the container, but dynamically injected.
$this
public function setSynthetic(bool $boolean) : static { $this->synthetic = $boolean; if (!isset($this->changes['public'])) { $this->setPublic(true); } return $this; }