cybercog / php-contracts-weblog

Сontracts for the framework agnostic Blog development.
https://komarev.com/sources/php-contracts-weblog
MIT License
6 stars 2 forks source link

Without get prefix accessors has issues in Laravel #1

Closed antonkomarev closed 6 years ago

antonkomarev commented 6 years ago

When accessors don't have get prefix some popular Laravel packages trying to use method id() as relation. Sadly, but now I don't see any way to fix this, so interface should have get prefixes.

antonkomarev commented 6 years ago

Done in https://github.com/cybercog/contracts-weblog/commit/730f205895466d2adfd7cb8f28ff5865f2cb009f