mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-05-07 20:32:26 +00:00
27 lines
570 B
PHP
27 lines
570 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Organization;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
/**
|
|
* This event is fired after an organization has been created.
|
|
* This event does NOT fire when an organization is created as part of a registration.
|
|
*/
|
|
class AfterCreateOrganization
|
|
{
|
|
use Dispatchable;
|
|
use SerializesModels;
|
|
|
|
public Organization $organization;
|
|
|
|
public function __construct(Organization $organization)
|
|
{
|
|
$this->organization = $organization;
|
|
}
|
|
}
|