PHP Trait LazyRecord\ModelTrait\RevisionModelTrait

Show file Open project: corneltek/lazyrecord

Public Properties

Property Type Description
$saveRevisionWhenUpdate

Public Methods

Method Description
beforeUpdate ( $args = [] )
createRevision ( )
saveWithRevision ( )

Method Details

beforeUpdate() public method

public beforeUpdate ( $args = [] )

createRevision() public method

public createRevision ( )

saveWithRevision() public method

public saveWithRevision ( )

Property Details

$saveRevisionWhenUpdate public property

public $saveRevisionWhenUpdate