Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120938478
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 7, 22:48
Size
724 B
Mime Type
text/x-php
Expires
Wed, Jul 9, 22:48 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27270300
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