Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102786833
SleepBuildStepImplementation.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
Mon, Feb 24, 04:33
Size
474 B
Mime Type
text/x-php
Expires
Wed, Feb 26, 04:33 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24424496
Attached To
rPH Phabricator
SleepBuildStepImplementation.php
View Options
<?php
final
class
SleepBuildStepImplementation
extends
BuildStepImplementation
{
public
function
getName
()
{
return
pht
(
'Sleep'
);
}
public
function
getDescription
()
{
return
pht
(
'Sleep for a specified number of seconds.'
);
}
public
function
execute
(
HarbormasterBuild
$build
)
{
$settings
=
$this
->
getSettings
();
sleep
(
$settings
[
'seconds'
]);
}
public
function
getSettingDefinitions
()
{
return
array
(
'seconds'
=>
array
());
}
}
Event Timeline
Log In to Comment