@@ -40,8 +40,8 @@ interface OptionsResolverInterface
40
40
*
41
41
* The closures should return the lazily created option value.
42
42
*
43
- * @param array $defaultValues A list of option names as keys and default
44
- * values or closures as values.
43
+ * @param array $defaultValues a list of option names as keys and default
44
+ * values or closures as values
45
45
*
46
46
* @return $this
47
47
*/
@@ -55,8 +55,8 @@ public function setDefaults(array $defaultValues);
55
55
* performance if the previous default value is calculated by an expensive
56
56
* closure.
57
57
*
58
- * @param array $defaultValues A list of option names as keys and default
59
- * values or closures as values.
58
+ * @param array $defaultValues a list of option names as keys and default
59
+ * values or closures as values
60
60
*
61
61
* @return $this
62
62
*/
@@ -92,15 +92,15 @@ public function setRequired($optionNames);
92
92
/**
93
93
* Sets allowed values for a list of options.
94
94
*
95
- * @param array $allowedValues A list of option names as keys and arrays
95
+ * @param array $allowedValues a list of option names as keys and arrays
96
96
* with values acceptable for that option as
97
- * values.
97
+ * values
98
98
*
99
99
* @return $this
100
100
*
101
- * @throws InvalidOptionsException If an option has not been defined
101
+ * @throws InvalidOptionsException if an option has not been defined
102
102
* (see {@link isKnown()}) for which
103
- * an allowed value is set.
103
+ * an allowed value is set
104
104
*/
105
105
public function setAllowedValues ($ allowedValues );
106
106
@@ -109,28 +109,28 @@ public function setAllowedValues($allowedValues);
109
109
*
110
110
* The values are merged with the allowed values defined previously.
111
111
*
112
- * @param array $allowedValues A list of option names as keys and arrays
112
+ * @param array $allowedValues a list of option names as keys and arrays
113
113
* with values acceptable for that option as
114
- * values.
114
+ * values
115
115
*
116
116
* @return $this
117
117
*
118
- * @throws InvalidOptionsException If an option has not been defined
118
+ * @throws InvalidOptionsException if an option has not been defined
119
119
* (see {@link isKnown()}) for which
120
- * an allowed value is set.
120
+ * an allowed value is set
121
121
*/
122
122
public function addAllowedValues ($ allowedValues );
123
123
124
124
/**
125
125
* Sets allowed types for a list of options.
126
126
*
127
- * @param array $allowedTypes A list of option names as keys and type
128
- * names passed as string or array as values.
127
+ * @param array $allowedTypes a list of option names as keys and type
128
+ * names passed as string or array as values
129
129
*
130
130
* @return $this
131
131
*
132
- * @throws InvalidOptionsException If an option has not been defined for
133
- * which an allowed type is set.
132
+ * @throws InvalidOptionsException if an option has not been defined for
133
+ * which an allowed type is set
134
134
*/
135
135
public function setAllowedTypes ($ allowedTypes );
136
136
@@ -139,13 +139,13 @@ public function setAllowedTypes($allowedTypes);
139
139
*
140
140
* The types are merged with the allowed types defined previously.
141
141
*
142
- * @param array $allowedTypes A list of option names as keys and type
143
- * names passed as string or array as values.
142
+ * @param array $allowedTypes a list of option names as keys and type
143
+ * names passed as string or array as values
144
144
*
145
145
* @return $this
146
146
*
147
- * @throws InvalidOptionsException If an option has not been defined for
148
- * which an allowed type is set.
147
+ * @throws InvalidOptionsException if an option has not been defined for
148
+ * which an allowed type is set
149
149
*/
150
150
public function addAllowedTypes ($ allowedTypes );
151
151
@@ -201,12 +201,12 @@ public function isRequired($option);
201
201
*
202
202
* @return array A list of options and their values
203
203
*
204
- * @throws InvalidOptionsException If any of the passed options has not
204
+ * @throws InvalidOptionsException if any of the passed options has not
205
205
* been defined or does not contain an
206
- * allowed value.
207
- * @throws MissingOptionsException If a required option is missing.
208
- * @throws OptionDefinitionException If a cyclic dependency is detected
209
- * between two lazy options.
206
+ * allowed value
207
+ * @throws MissingOptionsException if a required option is missing
208
+ * @throws OptionDefinitionException if a cyclic dependency is detected
209
+ * between two lazy options
210
210
*/
211
211
public function resolve (array $ options = array ());
212
212
}
0 commit comments