Mercurial > packages > magicforger
annotate src/Generator/Model/stubs/model.pivot.stub @ 20:81a76472ba21 main-dev
More namespace issues
| author | Luka Sitas <sitas.luka.97@gmail.com> |
|---|---|
| date | Wed, 26 Feb 2025 19:29:55 -0500 |
| parents | b0b2e79ad8e6 |
| children | 827efbf4d73c |
| rev | line source |
|---|---|
| 4 | 1 <?php |
| 2 | |
| 3 namespace {{ namespace }}; | |
| 4 | |
| 5 use Illuminate\Database\Eloquent\Relations\Pivot; | |
| 6 | |
| 7 class {{ class }} extends Pivot | |
| 8 { | |
| 9 // | |
| 5 | 10 |
| 11 /** | |
| 12 * Indicates if the model should be timestamped. | |
| 13 * By default our pivots will not use timestamps | |
| 14 * | |
| 15 * @var bool | |
| 16 */ | |
| 17 public $timestamps = false; | |
| 18 | |
| 19 | |
| 20 | |
| 4 | 21 } |
