Feature Description
I have Unguarded trait that I sometimes add to models so it keeps them clean, it looks like so:
trait Unguarded
{
public function initializeUnguarded(): void
{
$this->guarded = [];
}
}
class Person extends Model
{
use Unguarded;
}
Obviously if I do
then it all works. Would it be possible to make the plugin recognise this?
Feature Description
I have
Unguardedtrait that I sometimes add to models so it keeps them clean, it looks like so:Obviously if I do
then it all works. Would it be possible to make the plugin recognise this?