src/Base/AbstractForm.php
private function getElementsToProcess(): array
    {
        $result = [];

        foreach (get_object_vars($this) as $element) {
            if ($element instanceof FormElementInterface) {
                $result[] = $element;
            }
        }

        $result = array_merge($result, $this->extraElements);

        return $result;
    }
private function getElementsToProcess(): array
    {
        $result = [];

        foreach (get_object_vars($this) as $element) {
            if ($element instanceof FormElementInterface) {
                $result[] = $element;
            }
        }

        $result = array_merge($result, $this->extraElements);

        return $result;
    }
private function getElementsToProcess ( ) : array { $ result = [ ] ; foreach ( get_object_vars ( $ this ) as $ element ) { if ( $ element instanceof FormElementInterface ) { $ result [ ] = $ element ; } } $ result = array_merge ( $ result , $ this -> extraElements ) ; return $ result ; }
Returns the elements to process.

@return FormElementInterface[] The elements to process.
Returns the elements to process .