Skip to content

Namespaced module support #11

@dstockto

Description

@dstockto

I tried to use this module to change the layout for the Apigility Documentation module which is loaded be ZF\zfcampus\zf-apigility-documentation. The function that grabs the namespace from the class name appears to assume a single word namespace followed by the classname which ends up at "ZF" for the above example.

Changing the strpos call to strrpos appears to work for single or multiple named namespace. Any objections to an update? I can certainly provide a patch, but there may be a reason for only getting the first namespace that I'm not aware of.

Thank you.

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