BasicAutoloader.lookup

Tries to load a class given by name, searching through the registered paths. This function does not cache located classes, hence the lookup is performed for every call.

Classes are assumed to exist in a module that shares the name of the class, but is represented as lower_snake_case.

class BasicAutoloader
override
const(ClassInfo)
lookup
(
string name
)

Return Value

Type: const(ClassInfo)

The ClassInfo object of the class given by name, or null if not found.

Meta