mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 20:14:04 +00:00
Fix typos, add tests
This commit is contained in:
parent
82237bd7f3
commit
0111ed6f53
3 changed files with 36 additions and 5 deletions
|
|
@ -10,8 +10,8 @@ trait TenantManagerEvents
|
|||
* @var callable[][]
|
||||
*/
|
||||
protected $listeners = [
|
||||
'boostrapping' => [],
|
||||
'boostrapped' => [],
|
||||
'bootstrapping' => [],
|
||||
'bootstrapped' => [],
|
||||
'ending' => [],
|
||||
'ended' => [],
|
||||
];
|
||||
|
|
@ -35,7 +35,7 @@ trait TenantManagerEvents
|
|||
* @param callable $callback
|
||||
* @return self
|
||||
*/
|
||||
public function boostrapped(callable $callback)
|
||||
public function bootstrapped(callable $callback)
|
||||
{
|
||||
$this->listeners['bootstrapped'][] = $callback;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue