php-api-wrapper icon indicating copy to clipboard operation
php-api-wrapper copied to clipboard

global scope

Open galihsetyo opened this issue 3 years ago • 0 comments

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

galihsetyo avatar Oct 19 '22 10:10 galihsetyo