public getChanges ( boolean $getValues = false ) : array | ||
$getValues | boolean | If true, then an associative array will be returned containing an array of previous values, oldest to newest. |
return | array |
public function getChanges($getValues = false)
{
if ($getValues) {
return $this->changes;
}
return array_keys($this->changes);
}