platform/api/symfony/Component/Form/FormEvent.yaml
2024-09-02 10:44:11 -07:00

27 lines
853 B
YAML

name: FormEvent
class_comment: '# * @author Bernhard Schussek <bschussek@gmail.com>'
dependencies:
- name: Event
type: class
source: Symfony\Contracts\EventDispatcher\Event
properties: []
methods:
- name: getForm
visibility: public
parameters: []
comment: "# * @author Bernhard Schussek <bschussek@gmail.com>\n# */\n# class FormEvent\
\ extends Event\n# {\n# public function __construct(\n# private FormInterface\
\ $form,\n# protected mixed $data,\n# ) {\n# }\n# \n# /**\n# * Returns the form\
\ at the source of the event."
- name: getData
visibility: public
parameters: []
comment: '# * Returns the data associated with this event.'
- name: setData
visibility: public
parameters:
- name: data
comment: '# * Allows updating with some filtered data.'
traits:
- Symfony\Contracts\EventDispatcher\Event
interfaces: []