pixelfed/pixelfed

View on GitHub
app/Console/Commands/NotificationEpochUpdate.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;
use App\Jobs\InternalPipeline\NotificationEpochUpdatePipeline;

class NotificationEpochUpdate extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'app:notification-epoch-update';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Update notification epoch';

    /**
     * Execute the console command.
     */
    public function handle()
    {
        NotificationEpochUpdatePipeline::dispatch();
    }
}