public function get_form() {
		$this->throws_if_locked( 'access' );

		$form = new Form( $this->get_form_config() );

		// Create the field object instance.
		foreach ( $this->prop( 'fields' ) as $args ) {
			$form->add( $this->get_field( $args )->initialize() );
		}

		// Automatically initialize the form if it is configured so.
		if ( $this->get_auto_initialize() ) {
			$form->initialize();
		}

		return $form;
	}
public function get_form() {
		$this->throws_if_locked( 'access' );

		$form = new Form( $this->get_form_config() );

		// Create the field object instance.
		foreach ( $this->prop( 'fields' ) as $args ) {
			$form->add( $this->get_field( $args )->initialize() );
		}

		// Automatically initialize the form if it is configured so.
		if ( $this->get_auto_initialize() ) {
			$form->initialize();
		}

		return $form;
	}
public function get_form ( ) { $ this -> throws_if_locked ( 'access' ) ; $ form = new Form ( $ this -> get_form_config ( ) ) ; // Create the field object instance. foreach ( $ this -> prop ( 'fields' ) as $ args ) { $ form -> add ( $ this -> get_field ( $ args ) -> initialize ( ) ) ; } // Automatically initialize the form if it is configured so. if ( $ this -> get_auto_initialize ( ) ) { $ form -> initialize ( ) ; } return $ form ; }
Creates the form.

@return \WPLibs\Form\Form
Creates the form .