Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Naming of events #11

Closed
bakura10 opened this issue Oct 26, 2012 · 2 comments
Closed

Naming of events #11

bakura10 opened this issue Oct 26, 2012 · 2 comments

Comments

@bakura10
Copy link
Member

I'm not sure about the naming of those events : https://github.com/ZF-Commons/ZfcRbac/blob/master/src/ZfcRbac/Provider/Event.php

According to ZF 2, it should be hasRole, isGranted... (ZF 2 has loadModules, loadModule...).

@bakura10
Copy link
Member Author

I've changed them. However I don't see where those events are triggered.

@ghost
Copy link

ghost commented Oct 26, 2012

They're triggered inside the providers as necessary for lazy-loading so you don't have to load the entire permission tree on every request.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant