Skip to content

Custom autoloader throws exception when trying to load files from other Composer packages #66

@chukShirley

Description

@chukShirley

Currently the custom autoloader throws an exception if the file isn't readable. This presents problem if an autoloader which was registered later in the queue was meant to load the file. Consequently, there are occasions where PHP tries to use the toolkit's autoloader to load classes from other Composer packages. When the file isn't found, an exception is thrown.

Instead of throwing an exception, the toolkit's class map autoloader should just require the file if it exists. Otherwise, do nothing (return).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions