FormResponse extends Result
Table of Contents
Methods
- __construct() : mixed
- fetch() : LeadAdsForm|null
- fetchAll() : array<string|int, LeadAdsForm>
- setData() : FormResponse
- Creates new instance of FormResponse in case it must be immutable
Methods
__construct()
public
__construct(FormBuilderInterface $formBuilder, array<string|int, Response> ...$responses) : mixed
Parameters
- $formBuilder : FormBuilderInterface
- $responses : array<string|int, Response>
Tags
fetch()
public
fetch() : LeadAdsForm|null
Return values
LeadAdsForm|nullfetchAll()
public
fetchAll() : array<string|int, LeadAdsForm>
Return values
array<string|int, LeadAdsForm>setData()
Creates new instance of FormResponse in case it must be immutable
public
setData(array<string|int, Response> $data) : FormResponse
Parameters
- $data : array<string|int, Response>