Page MenuHomePhorge

PholioMockTimelineEngine.php
No OneTemporary

Size
461 B
Referenced Files
None
Subscribers
None

PholioMockTimelineEngine.php

<?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);
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, May 4, 1:18 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
65587
Default Alt Text
PholioMockTimelineEngine.php (461 B)

Event Timeline