Added the ability to manage a group of users.

This commit is contained in:
2023-07-16 19:21:09 +06:00
parent ba7e52f8ac
commit 4083e2ec5e
45 changed files with 1173 additions and 10 deletions

View File

@@ -0,0 +1,23 @@
<?php declare(strict_types=1);
namespace App\ServiceResults;
use Illuminate\Database\Eloquent\Model;
final class StoreUpdateResult extends ServiceResult
{
public function __construct(
private readonly Model $model,
private readonly string $message
) { }
public function getModel(): Model
{
return $this->model;
}
public function getMessage(): string
{
return $this->message;
}
}