File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ protected function getOptions(): array
176176 * @param array $options 值
177177 * @return void
178178 */
179- protected function setOptions (array $ options )
179+ public function setOptions (array $ options )
180180 {
181181 foreach ($ options as $ name => $ value ) {
182182 $ this ->setOption ($ name , $ value );
@@ -191,7 +191,7 @@ protected function setOptions(array $options)
191191 *
192192 * @return void
193193 */
194- protected function setOption (string $ name , $ value )
194+ public function setOption (string $ name , $ value )
195195 {
196196 self ::$ weakMap [$ this ][$ name ] = $ value ;
197197 }
@@ -204,7 +204,7 @@ protected function setOption(string $name, $value)
204204 *
205205 * @return mixed
206206 */
207- protected function getOption (string $ name , $ default = null )
207+ public function getOption (string $ name , $ default = null )
208208 {
209209 // 兼容读取3.0版本的属性参数定义
210210 if (property_exists ($ this , $ name ) && isset ($ this ->$ name )) {
You can’t perform that action at this time.
0 commit comments