Skip to content

Commit

Permalink
Merge pull request #36 from dillingham/patch-1
Browse files Browse the repository at this point in the history
add event documentation
  • Loading branch information
KABBOUCHI authored Dec 24, 2018
2 parents 59b071c + 0c0c58f commit 7bbf5a1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@ Please make sure to pass instance Model or Nova Resource ``Impersonate::make($th
return $this->can_be_impersonated == 1;
}
```
---

#### Events

You can hook onto the underlying package events

May be userful for things like setting session data

- `Lab404\Impersonate\Events\TakeImpersonation`
- `Lab404\Impersonate\Events\LeaveImpersonation`

---

You can optionally publish the config file with:
```bash
Expand Down

0 comments on commit 7bbf5a1

Please sign in to comment.