@@ -94,6 +94,8 @@ public function __construct($options = [])
9494 /**
9595 * Returns the quoteStyle option
9696 *
97+ * @deprecated Since 2.40.0. This method will be removed in 3.0 without replacement
98+ *
9799 * @return int
98100 */
99101 public function getQuoteStyle ()
@@ -104,7 +106,9 @@ public function getQuoteStyle()
104106 /**
105107 * Sets the quoteStyle option
106108 *
107- * @param int $quoteStyle
109+ * @deprecated Since 2.40.0. This method will be removed in 3.0. Set options during construction instead
110+ *
111+ * @param int $quoteStyle
108112 * @return self Provides a fluent interface
109113 */
110114 public function setQuoteStyle ($ quoteStyle )
@@ -116,6 +120,8 @@ public function setQuoteStyle($quoteStyle)
116120 /**
117121 * Get encoding
118122 *
123+ * @deprecated Since 2.40.0. This method will be removed in 3.0 without replacement
124+ *
119125 * @return string
120126 */
121127 public function getEncoding ()
@@ -126,7 +132,9 @@ public function getEncoding()
126132 /**
127133 * Set encoding
128134 *
129- * @param string $value
135+ * @deprecated Since 2.40.0. This method will be removed in 3.0. Set options during construction instead
136+ *
137+ * @param string $value
130138 * @return self
131139 */
132140 public function setEncoding ($ value )
@@ -138,6 +146,8 @@ public function setEncoding($value)
138146 /**
139147 * Returns the charSet option
140148 *
149+ * @deprecated Since 2.40.0. This method will be removed in 3.0 without replacement
150+ *
141151 * Proxies to {@link getEncoding()}
142152 *
143153 * @return string
@@ -150,9 +160,11 @@ public function getCharSet()
150160 /**
151161 * Sets the charSet option
152162 *
163+ * @deprecated Since 2.40.0. This method will be removed in 3.0. Set options during construction instead
164+ *
153165 * Proxies to {@link setEncoding()}
154166 *
155- * @param string $charSet
167+ * @param string $charSet
156168 * @return self Provides a fluent interface
157169 */
158170 public function setCharSet ($ charSet )
@@ -163,6 +175,8 @@ public function setCharSet($charSet)
163175 /**
164176 * Returns the doubleQuote option
165177 *
178+ * @deprecated Since 2.40.0. This method will be removed in 3.0 without replacement
179+ *
166180 * @return bool
167181 */
168182 public function getDoubleQuote ()
@@ -173,7 +187,9 @@ public function getDoubleQuote()
173187 /**
174188 * Sets the doubleQuote option
175189 *
176- * @param bool $doubleQuote
190+ * @deprecated Since 2.40.0. This method will be removed in 3.0. Set options during construction instead
191+ *
192+ * @param bool $doubleQuote
177193 * @return self Provides a fluent interface
178194 */
179195 public function setDoubleQuote ($ doubleQuote )
0 commit comments