\AssetCommitter

Synopsis

class AssetCommitter extends SS_Object implements AssetCommitterInterface {
}

Hierarchy

Extends

  • SS_Object

Implements

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.