Skip to content

Loading libraries #3

@eric-famiglietti

Description

@eric-famiglietti

Hi Jamie,

Thanks for answering my question related to unit testing in my pull request. I am gonna take a stab at loading libraries, unless you beat me to it.

When loading libraries you can pass up to three parameters (class name, config array, object name). Do you see any simple way to support this flexibility through autoloading (associative array maybe)? Or should I just keep it simple and only load libraries based on the class name?

I guess if someone really needs to pass in a configuration array or use a different object name they could load the library via the constructor.

Any thoughts?

Thanks,
Eric

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions