Make In-Portal Class Locator externally usable

Components

Labels

Description

Plan:

  1. create public "kFactory::findClassFile($class)" method, that will return absolute path to file, where given class/interface/trait is located

  2. create public "kApplication::findClassFile($class)" method, that will call above created method on "$this->Factory" object

  3. 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

Context Information

None

Additional information (do not use)

None

Activity

Alex November 28, 2016 at 9:25 AM

Closing issues of a released version.

[API] Administrator July 25, 2016 at 8:41 AM

User committed a fix to 5.2.x. Commit Message:

Fixes - Make In-Portal Class Locator externally usable

Differential Revision: http://qa.in-portal.org/D234

Alex July 25, 2016 at 8:41 AM

alex closed D234: - Make In-Portal Class Locator externally usable by committing rINP16376: Fixes - Make In-Portal Class Locator externally usable.
alex updated the diff for D234: - Make In-Portal Class Locator externally usable.

Alex July 25, 2016 at 8:35 AM

alex added dependent revisions for D234: - Make In-Portal Class Locator externally usable: D230: - Register missing classes in class factory, D233: - Register missing classes in class factory.

Erik S. July 13, 2016 at 9:47 AM

erik accepted D234: - Make In-Portal Class Locator externally usable.
D234: - Make In-Portal Class Locator externally usable is now accepted and ready to land.

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Added

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Time tracking

1h 2m logged

Story Points

Fix versions

Created July 10, 2016 at 9:03 AM
Updated December 29, 2024 at 8:54 PM
Resolved July 25, 2016 at 8:41 AM