You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the book you show the Eloquent models residing under the Impl/models directory. In the GitHub project page they reside under app/models. The autoloader can't load them if they are under the Impl/models directory without a binding, which the book doesn't have or explain.
The directory tree is incorrect in "The Repository Pattern" chapter right after the sentence: "Here’s our file structure again, with the ArticleInterface and EloquentArticle files:" (Kindle Locations 1104-1105) and right before the sentence: "With our new implementation, we can revisit our controller: app/ controllers/ ContentController.php" (Kindle Locations 1116-1117). It shows the models directory residing under the Impl directory. This is from the latest version from Leanpub.
The text was updated successfully, but these errors were encountered:
Check to see if this error still exists:
The text was updated successfully, but these errors were encountered: