1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications/policy
Joshua Spence b4d7a9de39 Simplify the implementation of PhabricatorPolicyCapability subclasses
Summary: Instead of implementing the `getCapabilityKey` method in all subclasses of `PhabricatorPolicyCapability`, provide a `final` implementation in the base class which uses reflection. See D9837 and D9985 for similar implementations.

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin, hach-que

Differential Revision: https://secure.phabricator.com/D10039
2014-07-25 08:25:42 +10:00
..
__tests__ Add a "documents I've signed" view to Legalpad 2014-06-28 16:37:15 -07:00
application Implement the getName method in PhabricatorApplication subclasses 2014-07-23 23:52:50 +10:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
config Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
constants Passphrase v0 2013-11-20 09:13:35 -08:00
controller Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
exception Allow applications to define new policy capabilities 2013-10-07 13:28:58 -07:00
filter Rename PHIDType classes 2014-07-24 08:05:46 +10:00
interface Work around a bug in PHP 5.3-ish with abstract methods in interfaces 2013-10-25 15:58:17 -07:00
management Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
phid Simplify the implementation of PhabricatorPHIDType subclasses 2014-07-22 00:38:23 +10:00
query Rename PhabricatorApplication subclasses 2014-07-23 10:03:09 +10:00
rule Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
storage Rename PHIDType classes 2014-07-24 08:05:46 +10:00