Page MenuHomec4science

PhabricatorNotificationTestFeedStory.php
No OneTemporary

File Metadata

Created
Thu, Aug 15, 19:33

PhabricatorNotificationTestFeedStory.php

<?php
final class PhabricatorNotificationTestFeedStory extends PhabricatorFeedStory {
public function getPrimaryObjectPHID() {
return $this->getAuthorPHID();
}
public function renderView() {
$data = $this->getStoryData();
$author_phid = $data->getAuthorPHID();
$view = $this->newStoryView();
$view->setTitle($data->getValue('title'));
$view->setImage($this->getHandle($author_phid)->getImageURI());
return $view;
}
public function renderText() {
$data = $this->getStoryData();
return $data->getValue('title');
}
}

Event Timeline