Page MenuHomestyx hydra

DiffusionExpandShortNameQuery.php
No OneTemporary

DiffusionExpandShortNameQuery.php

<?php
abstract class DiffusionExpandShortNameQuery extends DiffusionQuery {
private $commit;
private $commitType = 'commit';
private $tagContent;
private $repository;
public function setCommit($commit) {
$this->commit = $commit;
}
public function getCommit() {
return $this->commit;
}
public function setRepository(PhabricatorRepository $repository) {
$this->repository = $repository;
return $this;
}
public function getRepository() {
return $this->repository;
}
protected function setCommitType($type) {
$this->commitType = $type;
return $this;
}
protected function setTagContent($content) {
$this->tagContent = $content;
return $this;
}
final public static function newFromRepository(
PhabricatorRepository $repository) {
$obj = parent::initQueryObject(__CLASS__, $repository);
$obj->setRepository($repository);
return $obj;
}
final public function expand() {
$this->executeQuery();
return array(
'commit' => $this->commit,
'commitType' => $this->commitType,
'tagContent' => $this->tagContent);
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Apr 28, 7:42 PM (22 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1320105
Default Alt Text
DiffusionExpandShortNameQuery.php (1 KB)

Event Timeline