Homec4science

Make edge types modular

Authored by epriestley <git@epriestley.com> on Jul 18 2014, 00:40.

Description

Make edge types modular

Summary:
Ref T5245. I want to add a new capability to edge types, which is a good opportunity to move away from PhabricatorEdgeConfig, which isn't modular.

This is basically the same as the modularization of PHID types, which has worked well. Add PhabricatorEdgeType and provide an adaption layer for the existing code.

This has no runtime changes, except the fixed edge constant.

Test Plan: Ran var_dump(PhabricatorEdgeType::getAllTypes()) and got reasonable looking output.

Reviewers: chad, btrahan, joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Maniphest Tasks: T5245

Differential Revision: https://secure.phabricator.com/D9837

Details

Committed
epriestley <git@epriestley.com>Jul 18 2014, 00:40
Pushed
aubortJan 31 2017, 17:16
Parents
rPH7deec8208ff9: Make Maniphest project edits more transaction-oriented
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH7afb770cbe07: Make edge types modular (authored by epriestley <git@epriestley.com>).Jul 18 2014, 00:40