public function options($actionID) { // $actionId might be used in subclasses to provide options specific to action id return ['color', 'interactive', 'help']; }
public function options($id) { $options = []; if (in_array($id, ['start', 'restart'])) { $options = ['fork']; } return array_merge(parent::options($id), $options); }