~ubuntu-branches/ubuntu/wily/phabricator/wily

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

final class ReleephOriginalCommitFieldSpecification
  extends ReleephFieldSpecification {

  public function getFieldKey() {
    return 'commit:name';
  }

  public function getName() {
    return pht('Commit');
  }

  public function getRequiredHandlePHIDsForPropertyView() {
    return array(
      $this->getReleephRequest()->getRequestCommitPHID(),
    );
  }


  public function renderPropertyViewValue(array $handles) {
    return $this->renderHandleList($handles);
  }

}