Property | Type | Description | |
---|---|---|---|
$table | string |
Property | Type | Description | |
---|---|---|---|
$primaryKey | string |
Method | Description | |
---|---|---|
diff ( |
Diff the attributes of this version model against another version. | |
getModel ( ) : |
Return the versioned model | |
getResponsibleUserAttribute ( ) : mixed | Return the user responsible for this version | |
revert ( ) : |
Revert to the stored model version make it the current version | |
versionable ( ) : Illuminate\Database\Eloquent\Relations\MorphTo | Sets up the relation |
public getModel ( ) : |
||
return |
public getResponsibleUserAttribute ( ) : mixed | ||
return | mixed |
public revert ( ) : |
||
return |
public versionable ( ) : Illuminate\Database\Eloquent\Relations\MorphTo | ||
return | Illuminate\Database\Eloquent\Relations\MorphTo |