summaryrefslogtreecommitdiff
path: root/src/Models/User/HasUserModel.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-10-28 16:54:15 +0100
committermsquare <msquare@notrademark.de>2018-12-02 12:53:31 +0100
commit720b46f60f1033bc2249b846363f883fa3644ab8 (patch)
treeee42e09d96cc27758fb9c1d304c74eb2b42d7d93 /src/Models/User/HasUserModel.php
parent8a9031fa01d2dedb235faa9a17de5a5907459e17 (diff)
Models: Added DocBlocks
Diffstat (limited to 'src/Models/User/HasUserModel.php')
-rw-r--r--src/Models/User/HasUserModel.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Models/User/HasUserModel.php b/src/Models/User/HasUserModel.php
index d627e50d..6d1323de 100644
--- a/src/Models/User/HasUserModel.php
+++ b/src/Models/User/HasUserModel.php
@@ -22,6 +22,9 @@ abstract class HasUserModel extends BaseModel
'user_id',
];
+ /** The relationships that should be touched on save */
+ protected $touches = ['user'];
+
/**
* @return BelongsTo
*/