Skip to content

Commit

Permalink
Add @mixin annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Nov 8, 2022
1 parent ab3f943 commit 46c590e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/VirtualColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* 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
{
Expand Down

0 comments on commit 46c590e

Please sign in to comment.