@@ -154,11 +154,7 @@ public function get($name)
154
154
}
155
155
156
156
/**
157
- * Unsupported method.
158
- *
159
- * @param string $name
160
- *
161
- * @return bool Always returns false
157
+ * {@inheritdoc}
162
158
*/
163
159
public function has ($ name )
164
160
{
@@ -196,13 +192,7 @@ public function getErrors($deep = false, $flatten = true)
196
192
}
197
193
198
194
/**
199
- * Unsupported method.
200
- *
201
- * This method should not be invoked.
202
- *
203
- * @param mixed $modelData
204
- *
205
- * @return $this
195
+ * {@inheritdoc}
206
196
*/
207
197
public function setData ($ modelData )
208
198
{
@@ -211,71 +201,63 @@ public function setData($modelData)
211
201
}
212
202
213
203
/**
214
- * Unsupported method.
204
+ * {@inheritdoc}
215
205
*/
216
206
public function getData ()
217
207
{
218
208
return null ;
219
209
}
220
210
221
211
/**
222
- * Unsupported method.
212
+ * {@inheritdoc}
223
213
*/
224
214
public function getNormData ()
225
215
{
226
216
return null ;
227
217
}
228
218
229
219
/**
230
- * Unsupported method.
220
+ * {@inheritdoc}
231
221
*/
232
222
public function getViewData ()
233
223
{
234
224
return null ;
235
225
}
236
226
237
227
/**
238
- * Unsupported method.
239
- *
240
- * @return array Always returns an empty array
228
+ * {@inheritdoc}
241
229
*/
242
230
public function getExtraData ()
243
231
{
244
232
return [];
245
233
}
246
234
247
235
/**
248
- * Returns the button's configuration.
249
- *
250
- * @return FormConfigInterface The configuration instance
236
+ * {@inheritdoc}
251
237
*/
252
238
public function getConfig ()
253
239
{
254
240
return $ this ->config ;
255
241
}
256
242
257
243
/**
258
- * Returns whether the button is submitted.
259
- *
260
- * @return bool true if the button was submitted
244
+ * {@inheritdoc}
261
245
*/
262
246
public function isSubmitted ()
263
247
{
264
248
return $ this ->submitted ;
265
249
}
266
250
267
251
/**
268
- * Returns the name by which the button is identified in forms.
269
- *
270
- * @return string The name of the button
252
+ * {@inheritdoc}
271
253
*/
272
254
public function getName ()
273
255
{
274
256
return $ this ->config ->getName ();
275
257
}
276
258
277
259
/**
278
- * Unsupported method.
260
+ * {@inheritdoc}
279
261
*/
280
262
public function getPropertyPath ()
281
263
{
@@ -285,6 +267,8 @@ public function getPropertyPath()
285
267
/**
286
268
* Unsupported method.
287
269
*
270
+ * This method should not be invoked.
271
+ *
288
272
* @throws BadMethodCallException
289
273
*/
290
274
public function addError (FormError $ error )
@@ -293,19 +277,15 @@ public function addError(FormError $error)
293
277
}
294
278
295
279
/**
296
- * Unsupported method.
297
- *
298
- * @return bool Always returns true
280
+ * {@inheritdoc}
299
281
*/
300
282
public function isValid ()
301
283
{
302
284
return true ;
303
285
}
304
286
305
287
/**
306
- * Unsupported method.
307
- *
308
- * @return bool Always returns false
288
+ * {@inheritdoc}
309
289
*/
310
290
public function isRequired ()
311
291
{
@@ -325,27 +305,23 @@ public function isDisabled()
325
305
}
326
306
327
307
/**
328
- * Unsupported method.
329
- *
330
- * @return bool Always returns true
308
+ * {@inheritdoc}
331
309
*/
332
310
public function isEmpty ()
333
311
{
334
312
return true ;
335
313
}
336
314
337
315
/**
338
- * Unsupported method.
339
- *
340
- * @return bool Always returns true
316
+ * {@inheritdoc}
341
317
*/
342
318
public function isSynchronized ()
343
319
{
344
320
return true ;
345
321
}
346
322
347
323
/**
348
- * Unsupported method.
324
+ * {@inheritdoc}
349
325
*/
350
326
public function getTransformationFailure ()
351
327
{
@@ -355,6 +331,8 @@ public function getTransformationFailure()
355
331
/**
356
332
* Unsupported method.
357
333
*
334
+ * This method should not be invoked.
335
+ *
358
336
* @throws BadMethodCallException
359
337
*/
360
338
public function initialize ()
@@ -365,6 +343,8 @@ public function initialize()
365
343
/**
366
344
* Unsupported method.
367
345
*
346
+ * This method should not be invoked.
347
+ *
368
348
* @param mixed $request
369
349
*
370
350
* @throws BadMethodCallException
@@ -375,14 +355,7 @@ public function handleRequest($request = null)
375
355
}
376
356
377
357
/**
378
- * Submits data to the button.
379
- *
380
- * @param string|null $submittedData Not used
381
- * @param bool $clearMissing Not used
382
- *
383
- * @return $this
384
- *
385
- * @throws Exception\AlreadySubmittedException if the button has already been submitted
358
+ * {@inheritdoc}
386
359
*/
387
360
public function submit ($ submittedData , $ clearMissing = true )
388
361
{
@@ -432,19 +405,15 @@ public function createView(FormView $parent = null)
432
405
}
433
406
434
407
/**
435
- * Unsupported method.
436
- *
437
- * @return int Always returns 0
408
+ * {@inheritdoc}
438
409
*/
439
410
public function count ()
440
411
{
441
412
return 0 ;
442
413
}
443
414
444
415
/**
445
- * Unsupported method.
446
- *
447
- * @return \EmptyIterator Always returns an empty iterator
416
+ * {@inheritdoc}
448
417
*/
449
418
public function getIterator ()
450
419
{
0 commit comments