src/RepeaterFieldType.php
/**
     * Return an array of entry forms.
     *
     * @return array
     */
Return an array of entry forms.
@return array
Return an array of entry forms . @return array
public function forms()
    {
        if (!$forms = $this->dispatch(new GetMultiformFromValue($this))) {
            return [];
        }
        return array_map(
            function (FormBuilder $form) {
                return $form
                    ->make()
                    ->getForm();
            },
            $forms->getForms()->all()
        );
    }
public function forms ( ) { if ( ! $ forms = $ this -> dispatch ( new GetMultiformFromValue ( $ this ) ) ) { return [ ] ; } return array_map ( function ( FormBuilder $ form ) { return $ form -> make ( ) -> getForm ( ) ; } , $ forms -> getForms ( ) -> all ( ) ) ; }
Return an array of entry forms.
Return an array of entry forms .