summaryrefslogtreecommitdiffstats
path: root/docs/groups.md
diff options
context:
space:
mode:
authorChris Cornutt <chris.cornutt@hp.com>2014-12-16 11:54:46 -0600
committerChris Cornutt <chris.cornutt@hp.com>2014-12-16 11:54:46 -0600
commit20a491b50cddc46a706465ba5abdba015cc3ba4b (patch)
tree184ab4de9687e295ee3383f8af9f8156024f3d3b /docs/groups.md
parent694ea9249e2a76074ab655015a878ec567aea2ef (diff)
downloadgatekeeper-20a491b50cddc46a706465ba5abdba015cc3ba4b.zip
gatekeeper-20a491b50cddc46a706465ba5abdba015cc3ba4b.tar.gz
gatekeeper-20a491b50cddc46a706465ba5abdba015cc3ba4b.tar.bz2
updating docs with a "common operations" page and removing that content from the other pages0.7
Diffstat (limited to 'docs/groups.md')
-rw-r--r--docs/groups.md23
1 files changed, 0 insertions, 23 deletions
diff --git a/docs/groups.md b/docs/groups.md
index b838384..ce54856 100644
--- a/docs/groups.md
+++ b/docs/groups.md
@@ -23,29 +23,6 @@ Gatekeeper::createGroup($attrs);
?>
```
-## Finding Groups
-
-And, like users, you can find groups by their IDs:
-
-```php
-<?php
-$group = Gatekeeper::findGroupById(1);
-?>
-```
-
-If the group is not found, a `GroupNotFoundException` will be thrown.
-
-Additionally, you can find `Groups` by other properties:
-
-```php
-<?php
-$group = Gatekeeper::findGroupByName('group1');
-$group = Gatekeeper::findGroupByDescription('Group #1');
-
-// etc....
-?>
-```
-
## Getting Group Users
Much like you can easily get the groups the user belongs to, you can also get the members of a group. This will return a collection of user objects: