Mercurial > packages > magicforger
annotate src/Generator/Model/stubs/model.pivot.stub @ 10:a9ff874afdbd
better comments for config helper
| author | luka |
|---|---|
| date | Sat, 02 Dec 2023 10:20:32 -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 } |
