adrema/app/Nami/Api/MemberAction.php

18 lines
321 B
PHP
Raw Permalink Normal View History

2023-02-12 23:18:58 +01:00
<?php
namespace App\Nami\Api;
use Lorisleiva\Actions\Concerns\AsAction;
use Zoomyboy\LaravelNami\Api;
use Zoomyboy\LaravelNami\Data\Member;
class MemberAction
{
use AsAction;
public function handle(Api $api, int $groupId, int $memberId): Member
{
return $api->member($groupId, $memberId);
}
}