Skip to content

[RFC]: Adapter\Driver\Feature #56

@tyrsson

Description

@tyrsson

Proposed Version

3.0.0

Basic Information

In the current implementation we have the following:

  • DriverFeatureInterface
  • AbstractFeature

Background

One of the overall goals is to have all packages built to the interfaces.

Considerations

This will effect all Pdo concrete drivers.

Proposal(s)

Replace the existing implementation with:

  • DriverFeatureProviderInterface
  • DriverFeatureInterface
  • AbstractFeature

Resulting in:

  • AbstractFeature would then implement DriverFeatureInterface.
  • Contractual methods would move from DriverFeatureInterface to DriverFeatureProviderInterface
  • All instances that need to implement features would implement the DriverFeatureProviderInterface

This will allow us to type to the Interface rather than to an abstract class.

Appendix/Additional Info

No response

Metadata

Metadata

Labels

Platform migrationChanges related to platform migrationsenhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions