zend-inputfilter icon indicating copy to clipboard operation
zend-inputfilter copied to clipboard

Input filter specification and merging

Open vaclavvanik opened this issue 5 years ago • 1 comments

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?

vaclavvanik avatar Jan 28 '19 08:01 vaclavvanik