/** * Constructor * * @param string $value * @param array $tags */ public function __construct($value = null, array $tags = null) { parent::__construct(); // @codeCoverageIgnoreStart if (null !== $this->source) { return; } // @codeCoverageIgnoreEnd if (null !== $value) { $this->value = $value; } if (null !== $tags) { $this->tags = $tags; } $this->updateSource(); }
public function __construct(array $translatorOptions) { $this->translatorOptions = $translatorOptions; parent::__construct(); }