mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-05-07 20:32:26 +00:00
25 lines
531 B
PHP
25 lines
531 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Actions\Jetstream;
|
|
|
|
use App\Exceptions\MovedToApiException;
|
|
use App\Models\Organization;
|
|
use App\Models\User;
|
|
use Exception;
|
|
use Laravel\Jetstream\Contracts\RemovesTeamMembers;
|
|
|
|
class RemoveOrganizationMember implements RemovesTeamMembers
|
|
{
|
|
/**
|
|
* Remove the team member from the given team.
|
|
*
|
|
* @throws Exception
|
|
*/
|
|
public function remove(User $user, Organization $organization, User $teamMember): void
|
|
{
|
|
throw new MovedToApiException;
|
|
}
|
|
}
|