Skip to content

Overriding Abstract Classes in Pimcore #16979

Discussion options

You must be logged in to vote

@ChakibBrikciSid You cannot change the parent abstract class of the concrete cart implementations as this is directly done with PHP's inheritance feature (therefore no DI possible). If you need to add additional methods to both cart implementations use a trait (and eventually add a additional interface).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ChakibBrikciSid
Comment options

Answer selected by ChakibBrikciSid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants