Page MenuHomePhorge

DomainUpdate.php
No OneTemporary

Size
779 B
Referenced Files
None
Subscribers
None

DomainUpdate.php

<?php
namespace App\Console\Commands\Job;
use App\Domain;
use Illuminate\Console\Command;
class DomainUpdate extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'job:domainupdate {domain}';
/**
* The console command description.
*
* @var string
*/
protected $description = "Execute the DomainUpdate job (again).";
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$domain = Domain::where('namespace', $this->argument('domain'))->first();
if (!$domain) {
return 1;
}
$job = new \App\Jobs\DomainUpdate($domain->id);
$job->handle();
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Jul 9, 7:31 PM (36 m, 39 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1057038
Default Alt Text
DomainUpdate.php (779 B)

Event Timeline