original_string: public function addField($name, $alias = null)
      {
          $field = $this->add($this->field_class, $name);
          /** @type Field_Base $field */
          $field = $field->actual($alias);
  
          /** @type Field_Base $field */
          return $field;
      }
code: public function addField($name, $alias = null)
      {
          $field = $this->add($this->field_class, $name);
          /** @type Field_Base $field */
          $field = $field->actual($alias);
  
          /** @type Field_Base $field */
          return $field;
      }
code_tokens: public function addField ( $ name , $ alias = null ) { $ field = $ this -> add ( $ this -> field_class , $ name ) ; /** @type Field_Base $field */ $ field = $ field -> actual ( $ alias ) ; /** @type Field_Base $field */ return $ field ; }
docstring: Creates field definition object containing field meta-information such as caption, type
  validation rules, default value etc.
  
  @param string $name
  @param string $alias
  
  @return Field_Base
docstring_tokens: Creates field definition object containing field meta - information such as caption type validation rules default value etc .