Comments (1)
Rather than merging, which requires InputFilter
to provide insight into its internals (breaks encapsulation), I'd say that input filters should be chained perhaps?
having to construct a factory where each of the merged input filters to be requested from IFM first.
This seems normal/OK? Not sure why that's a problem...
unless we provide an instance, not a class as below:
I didn't understand the phrasing here.
Of course the below example works, but it's just useless complicating situation as would require addition fire of IFM to build the sub-inputfilter...
The input filter manager is totally optional: I personally assemble input filters manually, without any DIC involved.
from laminas-inputfilter.
Related Issues (20)
- Array Input has strange behaviour
- Null default value in `ArrayInput` is possible BC Break
- Allow implementing own validator which (also) validates NotEmpty HOT 1
- InputFilterInterface::getMessages() - invalid type hint HOT 2
- CI failing on documentation build due inline HTML in docs
- Deprecated properties in docs HOT 2
- Documentation refers to non-existent alias not_empty HOT 3
- Add possibility to reference other input (using token name) from the same input filter HOT 3
- RenameUpload filter breaks UploadFile validator HOT 3
- CollectionInputFilter - isValid does not pass $context variable HOT 1
- PHP 8.1 support HOT 3
- Removal of `container-interop/container-interop` HOT 2
- psr-container-stub causes Declaration incompatibile issues on using PHP preload HOT 4
- [BUG] Newly introduced string check for validation groups in BaseInputFilter is causing problems for CollectionFieldset with integers as Id's HOT 2
- Laminas\InputFilter\Factory::createInputFilter erroneous use of Traversable HOT 12
- Dependency Dashboard
- [RFC]: Allow empty array validation group HOT 7
- Static analysis tools may not understand typehints using Psalm virtual types HOT 4
- InputFilter->add() no longer accepts arrays HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laminas-inputfilter.