Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F69144577
DrydockLeaseActivationYieldLogType.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
Sun, Jun 30, 10:59
Size
495 B
Mime Type
text/x-php
Expires
Tue, Jul 2, 10:59 (2 d)
Engine
blob
Format
Raw Data
Handle
18675016
Attached To
rPH Phabricator
DrydockLeaseActivationYieldLogType.php
View Options
<?php
final
class
DrydockLeaseActivationYieldLogType
extends
DrydockLogType
{
const
LOGCONST
=
'core.lease.activation-yield'
;
public
function
getLogTypeName
()
{
return
pht
(
'Waiting for Activation'
);
}
public
function
getLogTypeIcon
(
array
$data
)
{
return
'fa-clock-o green'
;
}
public
function
renderLog
(
array
$data
)
{
$duration
=
idx
(
$data
,
'duration'
);
return
pht
(
'Waiting %s second(s) for lease to activate.'
,
new
PhutilNumber
(
$duration
));
}
}
Event Timeline
Log In to Comment