public function getActionLabel(RuleAction $action) { $class = $this->getActionClass($action->getAction()); return $class->getLabel($action); }