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 621
Zeile 1082... Zeile 1082...
1082
 
1082
 
1083
        return true;
1083
        return true;
Zeile 1084... Zeile 1084...
1084
    }
1084
    }
-
 
1085
 
-
 
1086
    /**
-
 
1087
     * Save the model and all of its relationships without raising any events to the parent model.
-
 
1088
     *
-
 
1089
     * @return bool
-
 
1090
     */
-
 
1091
    public function pushQuietly()
-
 
1092
    {
-
 
1093
        return static::withoutEvents(fn () => $this->push());
-
 
1094
    }
1085
 
1095
 
1086
    /**
1096
    /**
1087
     * Save the model to the database without raising any events.
1097
     * Save the model to the database without raising any events.
1088
     *
1098
     *
1089
     * @param  array  $options
1099
     * @param  array  $options
Zeile 2310... Zeile 2320...
2310
 
2320
 
2311
        if ($resolver = ($this->relationResolver(static::class, $method))) {
2321
        if ($resolver = ($this->relationResolver(static::class, $method))) {
2312
            return $resolver($this);
2322
            return $resolver($this);
Zeile -... Zeile 2323...
-
 
2323
        }
-
 
2324
 
-
 
2325
        if (Str::startsWith($method, 'through') &&
-
 
2326
            method_exists($this, $relationMethod = Str::of($method)->after('through')->lcfirst()->toString())) {
-
 
2327
            return $this->through($relationMethod);
2313
        }
2328
        }
2314
 
2329
 
Zeile 2315... Zeile 2330...
2315
        return $this->forwardCallTo($this->newQuery(), $method, $parameters);
2330
        return $this->forwardCallTo($this->newQuery(), $method, $parameters);
2316
    }
2331
    }