Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / paste / snippet / PhabricatorPasteSnippet.php
blobc5faa50b81f380036e0013a517a5ba67f6a3b6c3
1 <?php
3 final class PhabricatorPasteSnippet extends Phobject {
5 const FULL = 'full';
6 const FIRST_LINES = 'first_lines';
7 const FIRST_BYTES = 'first_bytes';
9 private $content;
10 private $type;
11 private $contentLineCount;
13 public function __construct($content, $type, $content_line_count) {
14 $this->content = $content;
15 $this->type = $type;
16 $this->contentLineCount = $content_line_count;
19 public function getContent() {
20 return $this->content;
23 public function getType() {
24 return $this->type;
27 public function getContentLineCount() {
28 return $this->contentLineCount;