Created
November 19, 2018 18:31
-
-
Save roni-estein/77d0a8b7a4ce3427c90bf236b1241cb9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Helpers; | |
use Illuminate\Database\Eloquent\Model as EloquentModel; | |
// This now makes a non abstract version of model so we can | |
// add macro's to model in certain situations like testing | |
class Model extends EloquentModel | |
{ | |
protected $guarded = []; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment