You are here

public function ScheduledChange::toArray in Commerce Recurring Framework 8

Gets the array representation of the scheduled change.

Return value

array The array representation of the scheduled change.

File

src/ScheduledChange.php, line 83

Class

ScheduledChange
Represents a scheduled change.

Namespace

Drupal\commerce_recurring

Code

public function toArray() {
  return [
    'field_name' => $this->fieldName,
    'value' => $this->value,
    'created' => $this->created,
  ];
}