Page MenuHomePhorge

SharedFolderUpdate.php
No OneTemporary

Size
773 B
Referenced Files
None
Subscribers
None

SharedFolderUpdate.php

<?php
namespace App\Console\Commands\Job;
use App\Console\Command;
class SharedFolderUpdate extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'job:sharedfolderupdate {folder}';
/**
* The console command description.
*
* @var string
*/
protected $description = "Execute the shared folder update job (again).";
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$folder = $this->getSharedFolder($this->argument('folder'));
if (!$folder) {
return 1;
}
$job = new \App\Jobs\SharedFolder\UpdateJob($folder->id);
$job->handle();
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Nov 20, 5:03 PM (19 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387023
Default Alt Text
SharedFolderUpdate.php (773 B)

Event Timeline