PHP Trait LazyRecord\ModelTrait\RevisionModelTrait

显示文件 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_oe property

public $saveRevisionWhenUpdate