Skip to content

Use FilterChainInterface and ValidatorChainInterface in type declarationsΒ #146

@adambalint-srg

Description

@adambalint-srg

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

As noted in laminas/laminas-validator#429 final classes should use interfaces. Because instead of extending this class the only option to modify these functionalities is to decorate the class. But in this repository the ValidatorChain and FilterChain classes are used in type declaration, so I can't use my custom classes for this. FilterChain already has an interface, for ValidatorChain I've created a PR: laminas/laminas-validator#430, so I hope it will be approved soon.

I know the new release is under construction, so this is a request to include these changes to ne new release

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions