Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespaced module support #11

Open
dstockto opened this issue Jun 23, 2015 · 1 comment
Open

Namespaced module support #11

dstockto opened this issue Jun 23, 2015 · 1 comment

Comments

@dstockto
Copy link

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.

@dstockto
Copy link
Author

It looks like PR #10 would be identical to what I'd PR anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant