akaunting/app/Events/Common/CompanyCreated.php

24 lines
369 B
PHP
Raw Permalink Normal View History

2020-09-13 21:57:10 +03:00
<?php
namespace App\Events\Common;
2020-11-21 20:24:42 +03:00
use App\Abstracts\Event;
2020-09-13 21:57:10 +03:00
2020-11-21 20:24:42 +03:00
class CompanyCreated extends Event
2020-09-13 21:57:10 +03:00
{
public $company;
2022-10-25 10:15:07 +03:00
public $request;
2020-09-13 21:57:10 +03:00
/**
* Create a new event instance.
*
* @param $company
*/
2022-10-25 10:15:07 +03:00
public function __construct($company, $request = null)
2020-09-13 21:57:10 +03:00
{
$this->company = $company;
2022-10-25 10:15:07 +03:00
$this->request = $request;
2020-09-13 21:57:10 +03:00
}
}