Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104154034
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, Mar 6, 20:03
Size
507 B
Mime Type
text/x-php
Expires
Sat, Mar 8, 20:03 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
24650913
Attached To
rPH Phabricator
PhabricatorAphlictManagementRestartWorkflow.php
View Options
<?php
final
class
PhabricatorAphlictManagementRestartWorkflow
extends
PhabricatorAphlictManagementWorkflow
{
protected
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