Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 399
Zeile 322... Zeile 322...
322
            $instance->save();
322
            $instance->save();
323
        });
323
        });
324
    }
324
    }
Zeile 325... Zeile 325...
325
 
325
 
-
 
326
    /**
-
 
327
     * Create a new instance of the related model without raising any events to the parent model.
-
 
328
     *
-
 
329
     * @param  array  $attributes
-
 
330
     * @return \Illuminate\Database\Eloquent\Model
-
 
331
     */
-
 
332
    public function createQuietly(array $attributes = [])
-
 
333
    {
-
 
334
        return Model::withoutEvents(fn () => $this->create($attributes));
-
 
335
    }
-
 
336
 
326
    /**
337
    /**
327
     * Create a new instance of the related model. Allow mass-assignment.
338
     * Create a new instance of the related model. Allow mass-assignment.
328
     *
339
     *
329
     * @param  array  $attributes
340
     * @param  array  $attributes
330
     * @return \Illuminate\Database\Eloquent\Model
341
     * @return \Illuminate\Database\Eloquent\Model