Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95839441
PhabricatorAphlictManagementRestartWorkflow.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Dec 19, 19:51
Size
504 B
Mime Type
text/x-php
Expires
Sat, Dec 21, 19:51 (2 d)
Engine
blob
Format
Raw Data
Handle
23066239
Attached To
rPH Phabricator
PhabricatorAphlictManagementRestartWorkflow.php
View Options
<?php
final
class
PhabricatorAphlictManagementRestartWorkflow
extends
PhabricatorAphlictManagementWorkflow
{
public
function
didConstruct
()
{
parent
::
didConstruct
();
$this
->
setName
(
'restart'
)
->
setSynopsis
(
pht
(
'Stop, then start the notifications server.'
));
}
public
function
execute
(
PhutilArgumentParser
$args
)
{
parent
::
execute
(
$args
);
$err
=
$this
->
executeStopCommand
();
if
(
$err
)
{
return
$err
;
}
return
$this
->
executeStartCommand
();
}
}
Event Timeline
Log In to Comment