Skip to content

global scope #42

@galihsetyo

Description

@galihsetyo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions