Changeset View
Changeset View
Standalone View
Standalone View
src/ref/ArcanistRevisionRef.php
| Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | final class ArcanistRevisionRef | ||||
| public function getID() { | public function getID() { | ||||
| return idx($this->parameters, 'id'); | return idx($this->parameters, 'id'); | ||||
| } | } | ||||
| public function getName() { | public function getName() { | ||||
| return idx($this->parameters, 'title'); | return idx($this->parameters, 'title'); | ||||
| } | } | ||||
| public function getAuthorPHID() { | |||||
| return idx($this->parameters, 'authorPHID'); | |||||
| } | |||||
| public function addSource(ArcanistRevisionRefSource $source) { | public function addSource(ArcanistRevisionRefSource $source) { | ||||
| $this->sources[] = $source; | $this->sources[] = $source; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getSources() { | public function getSources() { | ||||
| return $this->sources; | return $this->sources; | ||||
| } | } | ||||
| } | } | ||||