<?php
abstract class ActionScheduler_Schedule_Deprecated implements ActionScheduler_Schedule
{
public function next(DateTime $after = NULL)
{
if (empty($after)) {
$return_value = $this->get_date();
$replacement_method = 'get_date()';
} else {
$return_value = $this->get_next($after);
$replacement_method = 'get_next( $after )';
}
_deprecated_function(__METHOD__, '3.0.0', __CLASS__ . '::' . $replacement_method);
return $return_value;
}
}