I am trying to find out what is the purpose of Model::unguard();
and Model::reguard();
in the DatabaseSeeder.php
file that ships with Laravel. I have gone through the seeding documentation at laravel's site and googled but in vain.
So what is the purpose of Model::unguard();
? Assuming Model::reguard();
is just the opposite.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1G8MlcU
via IFTTT
Aucun commentaire:
Enregistrer un commentaire