فهرست منبع

[Form] added phpdoc (inherit) for types

Brikou CARRE 14 سال پیش
والد
کامیت
66ae994528
27فایلهای تغییر یافته به همراه324 افزوده شده و 0 حذف شده
  1. 9 0
      src/Symfony/Component/Form/Extension/Core/Type/BirthdayType.php
  2. 15 0
      src/Symfony/Component/Form/Extension/Core/Type/CheckboxType.php
  3. 15 0
      src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php
  4. 12 0
      src/Symfony/Component/Form/Extension/Core/Type/CollectionType.php
  5. 9 0
      src/Symfony/Component/Form/Extension/Core/Type/CountryType.php
  6. 12 0
      src/Symfony/Component/Form/Extension/Core/Type/DateTimeType.php
  7. 18 0
      src/Symfony/Component/Form/Extension/Core/Type/DateType.php
  8. 6 0
      src/Symfony/Component/Form/Extension/Core/Type/EmailType.php
  9. 18 0
      src/Symfony/Component/Form/Extension/Core/Type/FieldType.php
  10. 15 0
      src/Symfony/Component/Form/Extension/Core/Type/FileType.php
  11. 15 0
      src/Symfony/Component/Form/Extension/Core/Type/FormType.php
  12. 9 0
      src/Symfony/Component/Form/Extension/Core/Type/HiddenType.php
  13. 15 0
      src/Symfony/Component/Form/Extension/Core/Type/IntegerType.php
  14. 9 0
      src/Symfony/Component/Form/Extension/Core/Type/LanguageType.php
  15. 9 0
      src/Symfony/Component/Form/Extension/Core/Type/LocaleType.php
  16. 15 0
      src/Symfony/Component/Form/Extension/Core/Type/MoneyType.php
  17. 15 0
      src/Symfony/Component/Form/Extension/Core/Type/NumberType.php
  18. 15 0
      src/Symfony/Component/Form/Extension/Core/Type/PasswordType.php
  19. 15 0
      src/Symfony/Component/Form/Extension/Core/Type/PercentType.php
  20. 15 0
      src/Symfony/Component/Form/Extension/Core/Type/RadioType.php
  21. 9 0
      src/Symfony/Component/Form/Extension/Core/Type/RepeatedType.php
  22. 6 0
      src/Symfony/Component/Form/Extension/Core/Type/SearchType.php
  23. 6 0
      src/Symfony/Component/Form/Extension/Core/Type/TextType.php
  24. 6 0
      src/Symfony/Component/Form/Extension/Core/Type/TextareaType.php
  25. 15 0
      src/Symfony/Component/Form/Extension/Core/Type/TimeType.php
  26. 9 0
      src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php
  27. 12 0
      src/Symfony/Component/Form/Extension/Core/Type/UrlType.php

+ 9 - 0
src/Symfony/Component/Form/Extension/Core/Type/BirthdayType.php

@@ -15,6 +15,9 @@ use Symfony\Component\Form\AbstractType;
 
 class BirthdayType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -22,11 +25,17 @@ class BirthdayType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'date';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'birthday';

+ 15 - 0
src/Symfony/Component/Form/Extension/Core/Type/CheckboxType.php

@@ -19,6 +19,9 @@ use Symfony\Component\Form\FormView;
 
 class CheckboxType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $builder
@@ -27,6 +30,9 @@ class CheckboxType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildView(FormView $view, FormInterface $form)
     {
         $view
@@ -35,6 +41,9 @@ class CheckboxType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -42,11 +51,17 @@ class CheckboxType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'checkbox';

+ 15 - 0
src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php

@@ -26,6 +26,9 @@ use Symfony\Component\Form\Extension\Core\DataTransformer\ArrayToBooleanChoicesT
 
 class ChoiceType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         if (!$options['choices'] && !$options['choice_list']) {
@@ -88,6 +91,9 @@ class ChoiceType extends AbstractType
 
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildView(FormView $view, FormInterface $form)
     {
         $choices = $form->getAttribute('choice_list')->getChoices();
@@ -110,6 +116,9 @@ class ChoiceType extends AbstractType
         }
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         $multiple = isset($options['multiple']) && $options['multiple'];
@@ -126,11 +135,17 @@ class ChoiceType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return $options['expanded'] ? 'form' : 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'choice';

+ 12 - 0
src/Symfony/Component/Form/Extension/Core/Type/CollectionType.php

@@ -19,6 +19,9 @@ use Symfony\Component\Form\Extension\Core\EventListener\ResizeFormListener;
 
 class CollectionType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         if ($options['allow_add'] && $options['prototype']) {
@@ -43,6 +46,9 @@ class CollectionType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildView(FormView $view, FormInterface $form)
     {
         $view
@@ -51,6 +57,9 @@ class CollectionType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -62,6 +71,9 @@ class CollectionType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'collection';

+ 9 - 0
src/Symfony/Component/Form/Extension/Core/Type/CountryType.php

@@ -16,6 +16,9 @@ use Symfony\Component\Locale\Locale;
 
 class CountryType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -23,11 +26,17 @@ class CountryType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'choice';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'country';

+ 12 - 0
src/Symfony/Component/Form/Extension/Core/Type/DateTimeType.php

@@ -22,6 +22,9 @@ use Symfony\Component\Form\Extension\Core\DataTransformer\ArrayToPartsTransforme
 
 class DateTimeType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         // Only pass a subset of the options to children
@@ -87,6 +90,9 @@ class DateTimeType extends AbstractType
         }
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -112,6 +118,9 @@ class DateTimeType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getAllowedOptionValues(array $options)
     {
         return array(
@@ -142,6 +151,9 @@ class DateTimeType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'datetime';

+ 18 - 0
src/Symfony/Component/Form/Extension/Core/Type/DateType.php

@@ -25,6 +25,9 @@ use Symfony\Component\Form\ReversedTransformer;
 
 class DateType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $formatter = new \IntlDateFormatter(
@@ -87,6 +90,9 @@ class DateType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildViewBottomUp(FormView $view, FormInterface $form)
     {
         $view->set('widget', $form->getAttribute('widget'));
@@ -108,6 +114,9 @@ class DateType extends AbstractType
         }
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -125,6 +134,9 @@ class DateType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getAllowedOptionValues(array $options)
     {
         return array(
@@ -148,11 +160,17 @@ class DateType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return $options['widget'] === 'single_text' ? 'field' : 'form';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'date';

+ 6 - 0
src/Symfony/Component/Form/Extension/Core/Type/EmailType.php

@@ -15,11 +15,17 @@ use Symfony\Component\Form\AbstractType;
 
 class EmailType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'email';

+ 18 - 0
src/Symfony/Component/Form/Extension/Core/Type/FieldType.php

@@ -23,6 +23,9 @@ use Symfony\Component\EventDispatcher\EventDispatcher;
 
 class FieldType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         if (null === $options['property_path']) {
@@ -55,6 +58,9 @@ class FieldType extends AbstractType
         }
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildView(FormView $view, FormInterface $form)
     {
         $name = $form->getName();
@@ -93,6 +99,9 @@ class FieldType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         $defaultOptions = array(
@@ -129,16 +138,25 @@ class FieldType extends AbstractType
         return $defaultOptions;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function createBuilder($name, FormFactoryInterface $factory, array $options)
     {
         return new FormBuilder($name, $factory, new EventDispatcher(), $options['data_class']);
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return null;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'field';

+ 15 - 0
src/Symfony/Component/Form/Extension/Core/Type/FileType.php

@@ -21,6 +21,9 @@ use Symfony\Component\Form\FormView;
 
 class FileType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         if ($options['type'] === 'string') {
@@ -35,6 +38,9 @@ class FileType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildViewBottomUp(FormView $view, FormInterface $form)
     {
         $view
@@ -45,6 +51,9 @@ class FileType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -52,6 +61,9 @@ class FileType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getAllowedOptionValues(array $options)
     {
         return array(
@@ -62,6 +74,9 @@ class FileType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'file';

+ 15 - 0
src/Symfony/Component/Form/Extension/Core/Type/FormType.php

@@ -19,6 +19,9 @@ use Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper;
 
 class FormType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $builder
@@ -27,6 +30,9 @@ class FormType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildViewBottomUp(FormView $view, FormInterface $form)
     {
         $multipart = false;
@@ -41,6 +47,9 @@ class FormType extends AbstractType
         $view->set('multipart', $multipart);
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         $defaultOptions = array(
@@ -57,11 +66,17 @@ class FormType extends AbstractType
         return $defaultOptions;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'form';

+ 9 - 0
src/Symfony/Component/Form/Extension/Core/Type/HiddenType.php

@@ -15,6 +15,9 @@ use Symfony\Component\Form\AbstractType;
 
 class HiddenType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -25,11 +28,17 @@ class HiddenType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'hidden';

+ 15 - 0
src/Symfony/Component/Form/Extension/Core/Type/IntegerType.php

@@ -17,6 +17,9 @@ use Symfony\Component\Form\Extension\Core\DataTransformer\IntegerToLocalizedStri
 
 class IntegerType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $builder->appendClientTransformer(
@@ -27,6 +30,9 @@ class IntegerType extends AbstractType
         ));
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -38,6 +44,9 @@ class IntegerType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getAllowedOptionValues(array $options)
     {
         return array(
@@ -53,11 +62,17 @@ class IntegerType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'integer';

+ 9 - 0
src/Symfony/Component/Form/Extension/Core/Type/LanguageType.php

@@ -16,6 +16,9 @@ use Symfony\Component\Locale\Locale;
 
 class LanguageType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -23,11 +26,17 @@ class LanguageType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'choice';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'language';

+ 9 - 0
src/Symfony/Component/Form/Extension/Core/Type/LocaleType.php

@@ -16,6 +16,9 @@ use Symfony\Component\Locale\Locale;
 
 class LocaleType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -23,11 +26,17 @@ class LocaleType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'choice';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'locale';

+ 15 - 0
src/Symfony/Component/Form/Extension/Core/Type/MoneyType.php

@@ -21,6 +21,9 @@ class MoneyType extends AbstractType
 {
     private static $patterns = array();
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $builder
@@ -34,11 +37,17 @@ class MoneyType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildView(FormView $view, FormInterface $form)
     {
         $view->set('money_pattern', self::getPattern($form->getAttribute('currency')));
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -49,11 +58,17 @@ class MoneyType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'money';

+ 15 - 0
src/Symfony/Component/Form/Extension/Core/Type/NumberType.php

@@ -17,6 +17,9 @@ use Symfony\Component\Form\Extension\Core\DataTransformer\NumberToLocalizedStrin
 
 class NumberType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $builder->appendClientTransformer(new NumberToLocalizedStringTransformer(
@@ -26,6 +29,9 @@ class NumberType extends AbstractType
         ));
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -36,6 +42,9 @@ class NumberType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getAllowedOptionValues(array $options)
     {
         return array(
@@ -51,11 +60,17 @@ class NumberType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'number';

+ 15 - 0
src/Symfony/Component/Form/Extension/Core/Type/PasswordType.php

@@ -18,11 +18,17 @@ use Symfony\Component\Form\FormView;
 
 class PasswordType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $builder->setAttribute('always_empty', $options['always_empty']);
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildView(FormView $view, FormInterface $form)
     {
         if ($form->getAttribute('always_empty') || !$form->isBound()) {
@@ -30,6 +36,9 @@ class PasswordType extends AbstractType
         }
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -37,11 +46,17 @@ class PasswordType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'text';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'password';

+ 15 - 0
src/Symfony/Component/Form/Extension/Core/Type/PercentType.php

@@ -17,11 +17,17 @@ use Symfony\Component\Form\Extension\Core\DataTransformer\PercentToLocalizedStri
 
 class PercentType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $builder->appendClientTransformer(new PercentToLocalizedStringTransformer($options['precision'], $options['type']));
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -30,6 +36,9 @@ class PercentType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getAllowedOptionValues(array $options)
     {
         return array(
@@ -40,11 +49,17 @@ class PercentType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'percent';

+ 15 - 0
src/Symfony/Component/Form/Extension/Core/Type/RadioType.php

@@ -19,6 +19,9 @@ use Symfony\Component\Form\FormView;
 
 class RadioType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $builder
@@ -27,6 +30,9 @@ class RadioType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildView(FormView $view, FormInterface $form)
     {
         $view
@@ -39,6 +45,9 @@ class RadioType extends AbstractType
         }
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -46,11 +55,17 @@ class RadioType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'radio';

+ 9 - 0
src/Symfony/Component/Form/Extension/Core/Type/RepeatedType.php

@@ -17,6 +17,9 @@ use Symfony\Component\Form\Extension\Core\DataTransformer\ValueToDuplicatesTrans
 
 class RepeatedType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $builder
@@ -29,6 +32,9 @@ class RepeatedType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -40,6 +46,9 @@ class RepeatedType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'repeated';

+ 6 - 0
src/Symfony/Component/Form/Extension/Core/Type/SearchType.php

@@ -15,11 +15,17 @@ use Symfony\Component\Form\AbstractType;
 
 class SearchType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'text';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'search';

+ 6 - 0
src/Symfony/Component/Form/Extension/Core/Type/TextType.php

@@ -15,11 +15,17 @@ use Symfony\Component\Form\AbstractType;
 
 class TextType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'text';

+ 6 - 0
src/Symfony/Component/Form/Extension/Core/Type/TextareaType.php

@@ -15,11 +15,17 @@ use Symfony\Component\Form\AbstractType;
 
 class TextareaType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'field';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'textarea';

+ 15 - 0
src/Symfony/Component/Form/Extension/Core/Type/TimeType.php

@@ -23,6 +23,9 @@ use Symfony\Component\Form\FormView;
 
 class TimeType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $hourOptions = $minuteOptions = $secondOptions = array();
@@ -77,6 +80,9 @@ class TimeType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function buildView(FormView $view, FormInterface $form)
     {
         $view
@@ -85,6 +91,9 @@ class TimeType extends AbstractType
         ;
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -102,6 +111,9 @@ class TimeType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getAllowedOptionValues(array $options)
     {
         return array(
@@ -118,6 +130,9 @@ class TimeType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'time';

+ 9 - 0
src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php

@@ -16,6 +16,9 @@ use Symfony\Component\Form\Extension\Core\ChoiceList\TimezoneChoiceList;
 
 class TimezoneType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -23,11 +26,17 @@ class TimezoneType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'choice';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'timezone';

+ 12 - 0
src/Symfony/Component/Form/Extension/Core/Type/UrlType.php

@@ -17,11 +17,17 @@ use Symfony\Component\Form\Extension\Core\EventListener\FixUrlProtocolListener;
 
 class UrlType extends AbstractType
 {
+    /**
+     * {@inheritdoc}
+     */
     public function buildForm(FormBuilder $builder, array $options)
     {
         $builder->addEventSubscriber(new FixUrlProtocolListener($options['default_protocol']));
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getDefaultOptions(array $options)
     {
         return array(
@@ -29,11 +35,17 @@ class UrlType extends AbstractType
         );
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getParent(array $options)
     {
         return 'text';
     }
 
+    /**
+     * {@inheritdoc}
+     */
     public function getName()
     {
         return 'url';