Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect variables, components, form fields etc. from all classes implementing some interface #408

Open
lulco opened this issue Jul 25, 2023 · 0 comments
Labels
enhancement New feature or request forms

Comments

@lulco
Copy link
Contributor

lulco commented Jul 25, 2023

Example:

private AddFieldsToFormInterface $addFieldsToForm;
...
$form = new Form();
$this->addFieldsToForm->addFields($form);

AddFieldsToFormInterface can have several implementations, we need to collect data from all of them.

Then we should merge them - if variable is collected from all implementations, it is always defined, if it is only in some implementations, it is optional (might not be defined).

I believe this is already collected, we just need to return it from Finder classes

@lulco lulco added the enhancement New feature or request label Jul 25, 2023
@lulco lulco mentioned this issue Jul 25, 2023
14 tasks
@lulco lulco added the forms label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request forms
Projects
None yet
Development

No branches or pull requests

1 participant