Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation on aggregate root inheritance #75

Merged
merged 1 commit into from
Feb 21, 2018
Merged

Update documentation on aggregate root inheritance #75

merged 1 commit into from
Feb 21, 2018

Conversation

fritz-gerneth
Copy link
Contributor

Cannot extend from final class \Prooph\EventSourcing\EventStoreIntegration\AggregateTranslator, so we need to fall back to the interface.
Potentially related, instead of having to copy over everything, maybe most code could be put into a trait for a bit more reusability.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 108b534 on funct:ar_inh_doc into f40e219 on prooph:master.

@prolic
Copy link
Member

prolic commented Feb 21, 2018

Why extend? Simply compose.

@fritz-gerneth
Copy link
Contributor Author

That's why I updated the documentation, it previously tried to extend from the now final class :)

@prolic prolic merged commit 67fa365 into prooph:master Feb 21, 2018
@fritz-gerneth fritz-gerneth deleted the ar_inh_doc branch February 21, 2018 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants