Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • you only register class once in unit config and class itself then knows how to integrate with system
  • no need to create several configuration options for thing, e.g. (all things below aren't yet committed):

To make this happen we need to, at class registration time (when unit config cache is rebuilt), also create records that will:

  • record all implemented interfaces (for classes only)
  • record all parent class/interfaces (for classes and interfaces)
  • create method "Factory::getSubClasses($class_name)"

Related Discussions

Related Tasks