/
Automatic class name retrieving based on it's filename

Automatic class name retrieving based on it's filename

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/913c2ee4329cd75e#

I propose we auto-guess php class name based on filename, where that class is stored.

For example "my_super_helper.php" file will contain "MySuperHelper" class and nothing other.

There are several benefits of this:

  • no need to specify class name in unit config file (only class filename remains)
  • developer will be forced to properly name class file to connect it's class to the system

This large change, since we need to rename most of our classes/files to keep everything workings. That's why I propose this change to be made as part of 5.2.0 release.

Related Tasks

INP-683 - Getting issue details... STATUS