<?phpnamespaceIlluminate\Database\Console\Seeds;
useIlluminate\Database\Eloquent\Model;
traitWithoutModelEvents{
/**
* Prevent model events from being dispatched by the given callback.
*
* @param callable $callback
* @return callable
*/publicfunctionwithoutModelEvents(callable$callback)
{
returnfn () =>Model::withoutEvents($callback);
}
}