php-api-wrapper
php-api-wrapper copied to clipboard
global scope
Hi, I have a question.
How to use a global scope in the model? I've tried to use it based on the Laravel documentation but it's expecting an array in the second parameter instead of closure as in the Laravel documentation.
I'll appreciate your help