1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-12 08:36:13 +01:00
phorge-phorge/src/applications/paste/snippet/PhabricatorPasteSnippet.php

31 lines
618 B
PHP
Raw Normal View History

<?php
final class PhabricatorPasteSnippet extends Phobject {
const FULL = 'full';
const FIRST_LINES = 'first_lines';
const FIRST_BYTES = 'first_bytes';
private $content;
private $type;
private $contentLineCount;
public function __construct($content, $type, $content_line_count) {
$this->content = $content;
$this->type = $type;
$this->contentLineCount = $content_line_count;
}
public function getContent() {
return $this->content;
}
public function getType() {
return $this->type;
}
public function getContentLineCount() {
return $this->contentLineCount;
}
}