mirror of
https://github.com/archtechx/virtualcolumn.git
synced 2025-12-12 15:54:03 +00:00
Add @mixin annotation
This commit is contained in:
parent
ab3f943990
commit
46c590e240
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ namespace Stancl\VirtualColumn;
|
|||
* This trait lets you add a "data" column functionality to any Eloquent model.
|
||||
* It serializes attributes which don't exist as columns on the model's table
|
||||
* into a JSON column named data (customizable by overriding getDataColumn).
|
||||
*
|
||||
* @mixin \Illuminate\Database\Eloquent\Model
|
||||
*/
|
||||
trait VirtualColumn
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue