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

How to get current module name in controller? #253

Open
moston opened this issue Mar 29, 2016 · 5 comments
Open

How to get current module name in controller? #253

moston opened this issue Mar 29, 2016 · 5 comments

Comments

@moston
Copy link
Contributor

moston commented Mar 29, 2016

Is there any function that gives the name?

I tried injecting Pingpong\Modules\Module to get current entity but I have error:

Unresolvable dependency resolving [Parameter #1 [ <required> $name ]] in class Pingpong\Modules\Module

Could you help?

@breaktag
Copy link

+1 for this

@nWidart
Copy link
Member

nWidart commented Apr 14, 2016

@Barbery
Copy link

Barbery commented May 29, 2016

+1
Is there has something way to get the current module name?

@nWidart
Copy link
Member

nWidart commented May 29, 2016

yes, read my comment above.

@Barbery
Copy link

Barbery commented May 30, 2016

@nWidart
Hi, it seems not working, after I get the injected Repository object, it seems have not method to get the current module name or current module object

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

4 participants