Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79217343
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
Sun, Aug 25, 08:03
Size
724 B
Mime Type
text/x-php
Expires
Tue, Aug 27, 08:03 (2 d)
Engine
blob
Format
Raw Data
Handle
20114316
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