Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Input filter specification and merging #178

Open
vaclavvanik opened this issue Jan 28, 2019 · 1 comment
Open

Input filter specification and merging #178

vaclavvanik opened this issue Jan 28, 2019 · 1 comment

Comments

@vaclavvanik
Copy link

Now it is not possible to use input filter merging on input filters created from specification. Merging saves plenty of time when dealing with many input filters. I suppose extending Factory class to enable merging.

Specification example

$config = [
    'input_filter_specs' => [
         MyInput::class => [
             'foo' => [
             ],
        ],
         MyInput2::class => [
             'merge' => MyInput::class,
             'bar' => [
             ],
        ],
    ],
],

What is your opinion?

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-inputfilter; a new issue has been opened at laminas/laminas-inputfilter#1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants