You are here

public function PreUpdateEventArgs::hasChangedField in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php \Doctrine\Common\Persistence\Event\PreUpdateEventArgs::hasChangedField()

Checks if field has a changeset.

Parameters

string $field:

Return value

boolean

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php, line 70

Class

PreUpdateEventArgs
Class that holds event arguments for a preUpdate event.

Namespace

Doctrine\Common\Persistence\Event

Code

public function hasChangedField($field) {
  return isset($this->entityChangeSet[$field]);
}