diff options
author | Chris Cornutt <enygma@phpdeveloper.org> | 2014-12-13 21:03:14 -0600 |
---|---|---|
committer | Chris Cornutt <enygma@phpdeveloper.org> | 2014-12-13 21:03:14 -0600 |
commit | 200abadc89a0af2c017e4b346f3428a30bca79c3 (patch) | |
tree | 6bf546356b65198e71d0c85a35b63f42ecaa080b /src | |
parent | a242a5bb19d89ef7e388347533642b80efb7f551 (diff) | |
download | gatekeeper-200abadc89a0af2c017e4b346f3428a30bca79c3.zip gatekeeper-200abadc89a0af2c017e4b346f3428a30bca79c3.tar.gz gatekeeper-200abadc89a0af2c017e4b346f3428a30bca79c3.tar.bz2 |
adding docblock on permission collection
Diffstat (limited to 'src')
-rw-r--r-- | src/Psecio/Gatekeeper/PermissionCollection.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Psecio/Gatekeeper/PermissionCollection.php b/src/Psecio/Gatekeeper/PermissionCollection.php index c138409..a14d85d 100644 --- a/src/Psecio/Gatekeeper/PermissionCollection.php +++ b/src/Psecio/Gatekeeper/PermissionCollection.php @@ -4,6 +4,11 @@ namespace Psecio\Gatekeeper; class PermissionCollection extends \Psecio\Gatekeeper\Collection\Mysql { + /** + * Find the permissions for a given user ID + * + * @param integer $userId User ID + */ public function findByUserId($userId) { $data = array('userId' => $userId); |