Page MenuHomec4science

PholioMockTimelineEngine.php
No OneTemporary

File Metadata

Created
Sun, Feb 16, 23:38

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

Event Timeline