hasib32 / rest-api-with-lumen

Rest API boilerplate for Lumen micro-framework.
486 stars 144 forks source link

Set model for Repositories from the constructor. #23

Closed ibpavlov closed 7 years ago

ibpavlov commented 7 years ago

This pull request is based on the issue here

I've added a parameter in the repository constructor to be able to pass a child of the base model. I've run all tests before this commit and they all passed. Also, I've updated Readme guides.

hasib32 commented 7 years ago

@ibpavlov Thank you so much for the contribution.

ibpavlov commented 7 years ago

Happy to help. Next step could be adding Codeception tests if you think this is a good idea?

hasib32 commented 7 years ago

Yeah. Sure. You are welcome to add Codeception test.