This file contains 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 | |
/* Example of a base model, which uses 0 instead of null value of the deleted_at as the deleted state when using soft-delete */ | |
class BaseModel extends \Illuminate\Database\Eloquent\Model | |
{ | |
/** | |
* Get a new query builder for the model's table. | |
* | |
* @param bool $excludeDeleted |
OlderNewer