Path: blob/master/src/applications/conduit/data/ConduitAPIDocumentationPage.php
12256 views
<?php12final class ConduitAPIDocumentationPage3extends Phobject {45private $name;6private $anchor;7private $iconIcon;8private $content = array();910public function setName($name) {11$this->name = $name;12return $this;13}1415public function getName() {16return $this->name;17}1819public function setAnchor($anchor) {20$this->anchor = $anchor;21return $this;22}2324public function getAnchor() {25return $this->anchor;26}2728public function setContent($content) {29$this->content = $content;30return $this;31}3233public function getContent() {34return $this->content;35}3637public function setIconIcon($icon_icon) {38$this->iconIcon = $icon_icon;39return $this;40}4142public function getIconIcon() {43return $this->iconIcon;44}4546public function newView() {47$anchor_name = $this->getAnchor();48$anchor_view = id(new PhabricatorAnchorView())49->setAnchorName($anchor_name);5051$content = $this->content;5253return array(54$anchor_view,55$content,56);57}585960}616263