I have found a lot of questions on net that answers about setting controller guards directly in the config file but a lot less for getting the values from Doctrine Entity.
Can anyone please let me know about a single article that explains the process enough to start with.
I have already referred - ZF2 - BjyAuthorize - How to Get Rules and Guards from a Database
But no help in understanding where exactly should I register DoctrineControllerGuardAdapterFactory in the module config file.
Any help is appreciated.
Need the following settings -
Now the factory will inject the
rulesin theBjyAuthorize\Guard\Controllerconstructor as mentioned in the ZF2 - BjyAuthorize - How to Get Rules and Guards from a Database link.