Differential D9985 Diff 24031 src/applications/repository/phid/PhabricatorRepositoryPHIDTypePushEvent.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/phid/PhabricatorRepositoryPHIDTypePushEvent.php
<?php | <?php | ||||
final class PhabricatorRepositoryPHIDTypePushEvent | final class PhabricatorRepositoryPHIDTypePushEvent extends PhabricatorPHIDType { | ||||
extends PhabricatorPHIDType { | |||||
const TYPECONST = 'PSHE'; | const TYPECONST = 'PSHE'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Push Event'); | return pht('Push Event'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new PhabricatorRepositoryPushEvent(); | return new PhabricatorRepositoryPushEvent(); | ||||
} | } | ||||
Show All 21 Lines |