mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-16 03:42:41 +01:00
b6d745b666
Summary: All classes should extend from some other class. See D13275 for some explanation. Test Plan: `arc unit` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D13283
20 lines
435 B
PHP
20 lines
435 B
PHP
<?php
|
|
|
|
abstract class HeraldCustomAction extends Phobject {
|
|
|
|
abstract public function appliesToAdapter(HeraldAdapter $adapter);
|
|
|
|
abstract public function appliesToRuleType($rule_type);
|
|
|
|
abstract public function getActionKey();
|
|
|
|
abstract public function getActionName();
|
|
|
|
abstract public function getActionType();
|
|
|
|
abstract public function applyEffect(
|
|
HeraldAdapter $adapter,
|
|
$object,
|
|
HeraldEffect $effect);
|
|
|
|
}
|