Beforehand when calling for example $page->hasPageContents() on a Page Entity then the library looks for the database wrong table pageContents because __call doesn't translate the method name from camelCase to snake_case.
This commit fixes this that the snake-case table names such as page_contents get found.
I had two tables called
pages
andpage_contents
.Beforehand when calling for example
$page->hasPageContents()
on a Page Entity then the library looks for the database wrong tablepageContents
because__call
doesn't translate the method name from camelCase to snake_case.This commit fixes this that the snake-case table names such as
page_contents
get found.