Page MenuHomec4science

DifferentialRevisionRelationshipSource.php
No OneTemporary

File Metadata

Created
Mon, Dec 23, 12:18

DifferentialRevisionRelationshipSource.php

<?php
final class DifferentialRevisionRelationshipSource
extends PhabricatorObjectRelationshipSource {
public function isEnabledForObject($object) {
$viewer = $this->getViewer();
return PhabricatorApplication::isClassInstalledForViewer(
'PhabricatorDifferentialApplication',
$viewer);
}
public function getResultPHIDTypes() {
return array(
DifferentialRevisionPHIDType::TYPECONST,
);
}
}

Event Timeline