File tree Expand file tree Collapse file tree 1 file changed +4
-25
lines changed Expand file tree Collapse file tree 1 file changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -57,33 +57,12 @@ public function update(array $attributes = []);
5757 public function delete ($ id );
5858
5959 /**
60- * Get the value of the model's route key .
60+ * Destroy the models for the given IDs .
6161 *
62- * @return mixed
62+ * @param \Illuminate\Support\Collection|array|int $ids
63+ * @return int
6364 */
64- public function getRouteKey ();
65-
66- /**
67- * Get the route key for the model.
68- *
69- * @return string
70- */
71- public function getRouteKeyName ();
72-
73- /**
74- * Retrieve the model for a bound value.
75- *
76- * @param mixed $value
77- * @return \Illuminate\Database\Eloquent\Model|null
78- */
79- public function resolveRouteBinding ($ value );
80-
81- /**
82- * Convert the object into something JSON serializable.
83- *
84- * @return array
85- */
86- public function jsonSerialize ();
65+ public static function destroy ($ ids );
8766
8867 /**
8968 * Convert the model to its string representation.
You can’t perform that action at this time.
0 commit comments