trait
Illuminate
/
Database
/
Console
/
Seeds
/
WithoutModelEvents
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
WithoutModelEvents
Methods
public
withoutModelEvents ( callable $callback ) : callable
Prevent model events from being dispatched by the given callback.
Parameters
- $callback callable