38 lines
577 B
PHP
38 lines
577 B
PHP
<?php
|
|
|
|
namespace Laravel\Jetstream\Events;
|
|
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
|
|
class TeamMemberAdded
|
|
{
|
|
use Dispatchable;
|
|
|
|
/**
|
|
* The team instance.
|
|
*
|
|
* @var mixed
|
|
*/
|
|
public $team;
|
|
|
|
/**
|
|
* The team member that was added.
|
|
*
|
|
* @var mixed
|
|
*/
|
|
public $user;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param mixed $team
|
|
* @param mixed $user
|
|
* @return void
|
|
*/
|
|
public function __construct($team, $user)
|
|
{
|
|
$this->team = $team;
|
|
$this->user = $user;
|
|
}
|
|
}
|