Skip to content

Invalidate model cache in code. #482

@mikebronner

Description

@mikebronner

One aspect that can be improved in this package would be a way of invalidating the cache directly from the code using a Facade after a mass assignment/update instead of having to rely on an Artisan call like:

Artisan::call('modelCache:clear', ['--model' => 'App\Model']);

Originally posted by @daika7ana in #479

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions