Mercurial > packages > magicforger
view src/Generator/Model/stubs/model.pivot.stub @ 25:1a717c7b211f codex
added support for some basic views
| author | Luka Sitas <sitas.luka.97@gmail.com> |
|---|---|
| date | Sun, 11 May 2025 21:03:51 -0400 |
| parents | 31109c61ce02 |
| children | b17f81b804ff |
line wrap: on
line source
<?php namespace {{ namespace }}; use Illuminate\Database\Eloquent\Relations\Pivot; class {{ class }} extends Pivot { // /** * Indicates if the model should be timestamped. * By default our pivots will not use timestamps * * @var bool */ public $timestamps = false; //relations // BelongsTo # {{ belongs_to_relationships }} // HasMany # {{ has_many_relationships }} // HasManyThrough # {{ has_many_through_relationships }} }
