diff options
author | Chris Cornutt <enygma@phpdeveloper.org> | 2015-01-23 18:19:48 +0100 |
---|---|---|
committer | Chris Cornutt <enygma@phpdeveloper.org> | 2015-01-23 18:19:48 +0100 |
commit | a095887c189ee97cd18c5a647ebcc41388b2aade (patch) | |
tree | d739e6bd63aa7c5dfbb6a25f274896cbdcf584be | |
parent | b62dca7dc845b1ee539762cf5782b3019090672c (diff) | |
download | gatekeeper-a095887c189ee97cd18c5a647ebcc41388b2aade.zip gatekeeper-a095887c189ee97cd18c5a647ebcc41388b2aade.tar.gz gatekeeper-a095887c189ee97cd18c5a647ebcc41388b2aade.tar.bz2 |
commenting the grant method1.9
-rw-r--r-- | src/Psecio/Gatekeeper/UserModel.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Psecio/Gatekeeper/UserModel.php b/src/Psecio/Gatekeeper/UserModel.php index 75607f4..87a0d4e 100644 --- a/src/Psecio/Gatekeeper/UserModel.php +++ b/src/Psecio/Gatekeeper/UserModel.php @@ -361,6 +361,11 @@ class UserModel extends \Psecio\Gatekeeper\Model\Mysql return ($throttle->attempts === null) ? 0 : $throttle->attempts; } + /** + * Grant permissions and groups (multiple) at the same time + * + * @param array $config Configuration settings (permissions & groups) + */ public function grant(array $config) { if (isset($config['permissions'])) { |