Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F69816533
PhabricatorWorkerTriggerEvent.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
Wed, Jul 3, 16:12
Size
888 B
Mime Type
text/x-php
Expires
Fri, Jul 5, 16:12 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18749238
Attached To
rPH Phabricator
PhabricatorWorkerTriggerEvent.php
View Options
<?php
final
class
PhabricatorWorkerTriggerEvent
extends
PhabricatorWorkerDAO
{
protected
$triggerID
;
protected
$lastEventEpoch
;
protected
$nextEventEpoch
;
protected
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_TIMESTAMPS
=>
false
,
self
::
CONFIG_COLUMN_SCHEMA
=>
array
(
'lastEventEpoch'
=>
'epoch?'
,
'nextEventEpoch'
=>
'epoch?'
,
),
self
::
CONFIG_KEY_SCHEMA
=>
array
(
'key_trigger'
=>
array
(
'columns'
=>
array
(
'triggerID'
),
'unique'
=>
true
,
),
'key_next'
=>
array
(
'columns'
=>
array
(
'nextEventEpoch'
),
),
),
)
+
parent
::
getConfiguration
();
}
public
static
function
initializeNewEvent
(
PhabricatorWorkerTrigger
$trigger
)
{
$event
=
new
PhabricatorWorkerTriggerEvent
();
$event
->
setTriggerID
(
$trigger
->
getID
());
return
$event
;
}
}
Event Timeline
Log In to Comment