We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Just like Laravel Eloquent, the create($array) and fill($array) methods can only receive attributes listed on getFillable() - whitelisted attributes.
You can temporarily disable mass assignment protection when data is safe, on seeds or tests, for example:
\Jp7\Interadmin\Record::unguard(); Classe::create(['idade' => 12, 'nome' => 'teste']); \Jp7\Interadmin\Record::reguard();