@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at upstream/main 30 lines 618 B view raw
1<?php 2 3final class PhabricatorPasteSnippet extends Phobject { 4 5 const FULL = 'full'; 6 const FIRST_LINES = 'first_lines'; 7 const FIRST_BYTES = 'first_bytes'; 8 9 private $content; 10 private $type; 11 private $contentLineCount; 12 13 public function __construct($content, $type, $content_line_count) { 14 $this->content = $content; 15 $this->type = $type; 16 $this->contentLineCount = $content_line_count; 17 } 18 19 public function getContent() { 20 return $this->content; 21 } 22 23 public function getType() { 24 return $this->type; 25 } 26 27 public function getContentLineCount() { 28 return $this->contentLineCount; 29 } 30}