Skip to content

Commit

Permalink
Adding getter for DefaultIntervalGenerator.php (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloHendriks authored Jun 18, 2024
1 parent ce9b12f commit bf27463
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Plan/DefaultIntervalGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ public function getEndOfNextSubscriptionCycle(Subscription $subscription = null)
return $cycle_ends_at->modify('+'.$this->interval);
}

/**
* @return string
*/
public function interval() {
return $this->interval;
}

/**
* @return bool
*/
Expand Down

0 comments on commit bf27463

Please sign in to comment.