\AssetCommitter
Synopsis
class AssetCommitter
extends SS_Object
implements
AssetCommitterInterface
{
- // members
- private integer $count_new_commits = 0;
- // methods
- protected void newCommitCreated()
- public bool hasCreatedNewCommits()
- protected void getAbsoluteFilename()
Hierarchy
Members
private
- $count_new_commits
Methods
protected
- getAbsoluteFilename()
- newCommitCreated() — AssetCommitters should call this method every time they have successfully created a commit. The exact counter value is not actually needed, but it's used to determine if there are commits that should be pushed to a remote server at the end of the application's execution flow. (Of course pushing will not be done if no pushing is configured in the application's YAML config files. See AssetCommitterInterface::isPushingEnabled() for more details).
public
- hasCreatedNewCommits() — Indicates whether there are any new commits created by the AssetCommitter subclass that can be pushed to a remote repository.