14 lines
439 B
PHP
14 lines
439 B
PHP
<?php
|
|
namespace App\Console\Commands;
|
|
use Illuminate\Console\Command;
|
|
class RetrySeoNotifications extends Command
|
|
{
|
|
protected $signature = 'seo:indexnow-retry';
|
|
protected $description = 'Retry durable resource, collection and deletion notifications';
|
|
public function handle(): int
|
|
{
|
|
$this->line(json_encode(['processed'=>app(\App\Services\SeoNotifications::class)->retry()]));
|
|
return self::SUCCESS;
|
|
}
|
|
}
|