Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2484974
SharedFolderUpdate.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
773 B
Referenced Files
None
Subscribers
None
SharedFolderUpdate.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment