Set custom filter plugin inside servicemanager config zend framework
问题 I have the following code in my application user form that creates the input filter for the address2 element . $inputFilter = new InputFilter(); $inputFilter->add([ 'name' => 'address2', 'required' => true, 'filters' => [ ['name'=>'StringTrim'], ['name'=>'Administration\Filter\Ucwords'] ] ]); As you can see, I have the class name set as the name of the filter. I get the following error: A plugin by the name "Administration\Filter\Ucwords" was not found in the plugin manager Zend\Filter