You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It smells as hack typehinting Phalcon/Config in other services when extending it by custom class => feels as LSP violation.
Describe the solution you'd like
Add Phalcon/ConfigInterface filled with most methods from Phalcon/Config itself and from Phalcon/Collection.
Implement it in Phalcon/Config.
Replace all internal typehints to interface.
Describe alternatives you've considered
It also can be Phalcon/CollectionInterface, but less usable.
Thanks.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It smells as hack typehinting
Phalcon/Config
in other services when extending it by custom class => feels as LSP violation.Describe the solution you'd like
Phalcon/ConfigInterface
filled with most methods fromPhalcon/Config
itself and fromPhalcon/Collection
.Phalcon/Config
.Describe alternatives you've considered
It also can be
Phalcon/CollectionInterface
, but less usable.Thanks.
The text was updated successfully, but these errors were encountered: