original_string: public static function form($slug, $name = '', array $attributes = []){
          $class_name = get_called_class();
          /** @var AjaxBaseForm $instance */
          $instance = $class_name::get_instance();
          $instance->form_open($attributes);
          $args = $instance->form_arguments();
          $instance->load_template($slug, $name, $args);
          $instance->form_close();
      }
code: public static function form($slug, $name = '', array $attributes = []){
          $class_name = get_called_class();
          /** @var AjaxBaseForm $instance */
          $instance = $class_name::get_instance();
          $instance->form_open($attributes);
          $args = $instance->form_arguments();
          $instance->load_template($slug, $name, $args);
          $instance->form_close();
      }
code_tokens: public static function form ( $ slug , $ name = '' , array $ attributes = [ ] ) { $ class_name = get_called_class ( ) ; /** @var AjaxBaseForm $instance */ $ instance = $ class_name :: get_instance ( ) ; $ instance -> form_open ( $ attributes ) ; $ args = $ instance -> form_arguments ( ) ; $ instance -> load_template ( $ slug , $ name , $ args ) ; $ instance -> form_close ( ) ; }
docstring: Display form control
  
  @param string $slug
  @param string $name
  @param array $attributes
docstring_tokens: Display form control