We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcc2204 commit 5674040Copy full SHA for 5674040
src/Traits/ModelCaching.php
@@ -75,6 +75,10 @@ public static function bootCachable()
75
// $instance->checkCooldownAndFlushAfterPersisting($instance);
76
// });
77
78
+ static::pivotSynced(function ($instance, $secondInstance, $relationship) {
79
+ $instance->checkCooldownAndFlushAfterPersisting($instance, $relationship);
80
+ });
81
+
82
static::pivotAttached(function ($instance, $secondInstance, $relationship) {
83
$instance->checkCooldownAndFlushAfterPersisting($instance, $relationship);
84
});
0 commit comments