feat: ada trait for real-time updated data

This commit is contained in:
Yoga Pangestu 2025-09-18 20:44:03 +07:00
parent e5754f93c4
commit 77927608b5

View File

@ -0,0 +1,11 @@
<?php
namespace App\Traits;
trait WithUpdatedData
{
public function updated(string $propertyName, string $value)
{
$this->validateOnly($propertyName);
}
}