Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F111884177
PholioMockTimelineEngine.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, May 5, 18:42
Size
461 B
Mime Type
text/x-php
Expires
Wed, May 7, 18:42 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25990620
Attached To
rPH Phabricator
PholioMockTimelineEngine.php
View Options
<?php
final
class
PholioMockTimelineEngine
extends
PhabricatorTimelineEngine
{
protected
function
newTimelineView
()
{
$viewer
=
$this
->
getViewer
();
$object
=
$this
->
getObject
();
$images
=
id
(
new
PholioImageQuery
())
->
setViewer
(
$viewer
)
->
withMocks
(
array
(
$object
))
->
needInlineComments
(
true
)
->
execute
();
$object
->
attachImages
(
$images
);
return
id
(
new
PholioTransactionView
())
->
setMock
(
$object
);
}
}
Event Timeline
Log In to Comment