changes
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Containers\Dashboard\Tasks\Posts;
|
||||
|
||||
use App\Containers\Article\Models\Post;
|
||||
|
||||
class BulkDeletePostsTask
|
||||
{
|
||||
public function run(array $ids): int
|
||||
{
|
||||
return Post::whereIn('id', $ids)->delete();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user