Skip to content
Discussion options

You must be logged in to vote

Also

        if (in_array($method, $this->passthru)) {
            return $this->toBase()->{$method}(...$parameters); // toBase is applying scopes
        }

        $this->forwardCallTo($this->query, $method, $parameters); // no scopes

Is that ok?

Replies: 5 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@shaedrich
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@macropay-solutions
Comment options

Answer selected by macropay-solutions
@macropay-solutions
Comment options

@macropay-solutions
Comment options

Comment options

You must be logged in to vote
2 replies
@macropay-solutions
Comment options

@Nabil-nl
Comment options

Comment options

You must be logged in to vote
3 replies
@macropay-solutions
Comment options

@shaedrich
Comment options

@macropay-solutions
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