コード例 #1
0
ファイル: Tag.php プロジェクト: ZeljkoDzafic/AeroMeter
 public static function boot()
 {
     parent::boot();
     Tag::deleting(function ($tag) {
         $tag->stations()->detach();
     });
 }