src/Core/Form/AbstractFieldDefinition.php
public function define(Form $form)
    {
        $this->namespaces = new PriorityQueue();
        $this->namespaces->insert('Windwalker\Form\Field', PriorityQueue::NORMAL);

        $this->bootTraits($this);

        $this->form = $form;

        $this->doDefine($form);
    }
public function define(Form $form)
    {
        $this->namespaces = new PriorityQueue();
        $this->namespaces->insert('Windwalker\Form\Field', PriorityQueue::NORMAL);

        $this->bootTraits($this);

        $this->form = $form;

        $this->doDefine($form);
    }
public function define ( Form $ form ) { $ this -> namespaces = new PriorityQueue ( ) ; $ this -> namespaces -> insert ( 'Windwalker\Form\Field' , PriorityQueue :: NORMAL ) ; $ this -> bootTraits ( $ this ) ; $ this -> form = $ form ; $ this -> doDefine ( $ form ) ; }
Define the form fields.

@param Form $form The Windwalker form object.

@return  void
Define the form fields .