Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F73582125
PhabricatorRepositoryPHIDTypePushEvent.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, Jul 22, 21:26
Size
724 B
Mime Type
text/x-php
Expires
Wed, Jul 24, 21:26 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19227916
Attached To
rPH Phabricator
PhabricatorRepositoryPHIDTypePushEvent.php
View Options
<?php
final
class
PhabricatorRepositoryPHIDTypePushEvent
extends
PhabricatorPHIDType
{
const
TYPECONST
=
'PSHE'
;
public
function
getTypeName
()
{
return
pht
(
'Push Event'
);
}
public
function
newObject
()
{
return
new
PhabricatorRepositoryPushEvent
();
}
protected
function
buildQueryForObjects
(
PhabricatorObjectQuery
$query
,
array
$phids
)
{
return
id
(
new
PhabricatorRepositoryPushEventQuery
())
->
withPHIDs
(
$phids
);
}
public
function
loadHandles
(
PhabricatorHandleQuery
$query
,
array
$handles
,
array
$objects
)
{
foreach
(
$handles
as
$phid
=>
$handle
)
{
$event
=
$objects
[
$phid
];
$handle
->
setName
(
pht
(
'Push Event %d'
,
$event
->
getID
()));
}
}
}
Event Timeline
Log In to Comment