Changeset View
Changeset View
Standalone View
Standalone View
src/applications/paste/view/PasteEmbedView.php
<?php | <?php | ||||
final class PasteEmbedView extends AphrontView { | final class PasteEmbedView extends AphrontView { | ||||
private $paste; | private $paste; | ||||
private $handle; | private $handle; | ||||
private $highlights = array(); | private $highlights = array(); | ||||
private $lines = 30; | private $lines = 24; | ||||
public function setPaste(PhabricatorPaste $paste) { | public function setPaste(PhabricatorPaste $paste) { | ||||
$this->paste = $paste; | $this->paste = $paste; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function setHandle(PhabricatorObjectHandle $handle) { | public function setHandle(PhabricatorObjectHandle $handle) { | ||||
$this->handle = $handle; | $this->handle = $handle; | ||||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |