-
Type: Feature Request
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.2.2-B1
-
Component/s: Data Management
-
Labels:None
-
Change Log Group:Added
-
Change Log Message:Added "/tools/class_locator.php" file for static code analysis in 3rd-party libraries.
-
Story Points:1
-
Copy Issue Key:
-
Patch Instructions:
Plan:
- create public "kFactory::findClassFile($class)" method, that will return absolute path to file, where given class/interface/trait is located
- create public "kApplication::findClassFile($class)" method, that will call above created method on "$this->Factory" object
- create "/tools/class_locator.php" file, that would return closure, that:
- would accept "$class" argument
- return result of "kApplication::findClassFile" method, when not "false"
- return result of "Composer\Autoload\ClassLoader::findFile" method otherwise