mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 02:04:03 +00:00
Add more events
This commit is contained in:
parent
ed96aee669
commit
b87c0bc9d2
22 changed files with 165 additions and 52 deletions
16
src/Events/Contracts/TenancyEvent.php
Normal file
16
src/Events/Contracts/TenancyEvent.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Stancl\Tenancy\Events\Contracts;
|
||||
|
||||
use Stancl\Tenancy\Tenancy;
|
||||
|
||||
abstract class TenancyEvent
|
||||
{
|
||||
/** @var Tenancy */
|
||||
public $tenancy;
|
||||
|
||||
public function __construct(Tenancy $tenancy)
|
||||
{
|
||||
$this->tenancy = $tenancy;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue