Differential D19179 Diff 45940 src/applications/transactions/storage/PhabricatorModularTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/storage/PhabricatorModularTransaction.php
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | abstract class PhabricatorModularTransaction | ||||
/* final */ public function shouldHide() { | /* final */ public function shouldHide() { | ||||
if ($this->getTransactionImplementation()->shouldHide()) { | if ($this->getTransactionImplementation()->shouldHide()) { | ||||
return true; | return true; | ||||
} | } | ||||
return parent::shouldHide(); | return parent::shouldHide(); | ||||
} | } | ||||
final public function shouldHideForFeed() { | |||||
if ($this->getTransactionImplementation()->shouldHideForFeed()) { | |||||
return true; | |||||
} | |||||
return parent::shouldHideForFeed(); | |||||
} | |||||
/* final */ public function getIcon() { | /* final */ public function getIcon() { | ||||
$icon = $this->getTransactionImplementation()->getIcon(); | $icon = $this->getTransactionImplementation()->getIcon(); | ||||
if ($icon !== null) { | if ($icon !== null) { | ||||
return $icon; | return $icon; | ||||
} | } | ||||
return parent::getIcon(); | return parent::getIcon(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |