You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'The option "%s" does not exist. Defined options are: "%s".',
@@ -1008,106 +960,6 @@ public function count()
1008
960
returncount($this->defaults);
1009
961
}
1010
962
1011
-
/**
1012
-
* Alias of {@link setDefault()}.
1013
-
*
1014
-
* @deprecated since version 2.6, to be removed in 3.0.
1015
-
*/
1016
-
publicfunctionset($option, $value)
1017
-
{
1018
-
trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the setDefaults() method instead.', E_USER_DEPRECATED);
1019
-
1020
-
return$this->setDefault($option, $value);
1021
-
}
1022
-
1023
-
/**
1024
-
* Shortcut for {@link clear()} and {@link setDefaults()}.
1025
-
*
1026
-
* @deprecated since version 2.6, to be removed in 3.0.
1027
-
*/
1028
-
publicfunctionreplace(array$defaults)
1029
-
{
1030
-
trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the clear() and setDefaults() methods instead.', E_USER_DEPRECATED);
1031
-
1032
-
$this->clear();
1033
-
1034
-
return$this->setDefaults($defaults);
1035
-
}
1036
-
1037
-
/**
1038
-
* Alias of {@link setDefault()}.
1039
-
*
1040
-
* @deprecated since version 2.6, to be removed in 3.0.
1041
-
*/
1042
-
publicfunctionoverload($option, $value)
1043
-
{
1044
-
trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the setDefault() method instead.', E_USER_DEPRECATED);
1045
-
1046
-
return$this->setDefault($option, $value);
1047
-
}
1048
-
1049
-
/**
1050
-
* Alias of {@link offsetGet()}.
1051
-
*
1052
-
* @deprecated since version 2.6, to be removed in 3.0.
1053
-
*/
1054
-
publicfunctionget($option)
1055
-
{
1056
-
trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the ArrayAccess syntax instead to get an option value.', E_USER_DEPRECATED);
1057
-
1058
-
return$this->offsetGet($option);
1059
-
}
1060
-
1061
-
/**
1062
-
* Alias of {@link offsetExists()}.
1063
-
*
1064
-
* @deprecated since version 2.6, to be removed in 3.0.
1065
-
*/
1066
-
publicfunctionhas($option)
1067
-
{
1068
-
trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the ArrayAccess syntax instead to get an option value.', E_USER_DEPRECATED);
1069
-
1070
-
return$this->offsetExists($option);
1071
-
}
1072
-
1073
-
/**
1074
-
* Shortcut for {@link clear()} and {@link setDefaults()}.
1075
-
*
1076
-
* @deprecated since version 2.6, to be removed in 3.0.
trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the clear() and setDefaults() methods instead.', E_USER_DEPRECATED);
1081
-
1082
-
$this->clear();
1083
-
1084
-
return$this->setDefaults($defaultValues);
1085
-
}
1086
-
1087
-
/**
1088
-
* Alias of {@link setDefined()}.
1089
-
*
1090
-
* @deprecated since version 2.6, to be removed in 3.0.
1091
-
*/
1092
-
publicfunctionsetOptional(array$optionNames)
1093
-
{
1094
-
trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the setDefined() method instead.', E_USER_DEPRECATED);
1095
-
1096
-
return$this->setDefined($optionNames);
1097
-
}
1098
-
1099
-
/**
1100
-
* Alias of {@link isDefined()}.
1101
-
*
1102
-
* @deprecated since version 2.6, to be removed in 3.0.
1103
-
*/
1104
-
publicfunctionisKnown($option)
1105
-
{
1106
-
trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the isDefined() method instead.', E_USER_DEPRECATED);
1107
-
1108
-
return$this->isDefined($option);
1109
-
}
1110
-
1111
963
/**
1112
964
* Returns a string representation of the type of the value.
0 commit comments