Skip to content
Discussion options

You must be logged in to vote

The model has a forward call proxy that passes some calls to the QueryBuilder class. hence the hydrate method is accessable trough the model instance

return $this->forwardCallTo($this->newQuery(), $method, $parameters);

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@henzeb
Comment options

@ahmedash95
Comment options

Answer selected by felahdab
@felahdab
Comment options

@henzeb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants