analogueorm / analogue

Analogue ORM : Data Mapper ORM for Laravel/PHP
MIT License
632 stars 51 forks source link

[FEAT] Add entity key methods #225

Closed quetzyg closed 6 years ago

quetzyg commented 6 years ago

This pull request adds methods consistency to the classes implementing the InternallyMappable contract.

The getEntityKey() method was replaced with getEntityKeyName() and getEntityKeyValue().