/** * Renders a Holiday Item for Overview table * * @param Holiday $holiday The Holiday item to show * @param array $attributes The shortcode attributes */ public static function renderHoliday(Holiday $holiday, array $attributes) { echo '<span class="op-period-time holiday ' . $attributes['span_period_classes'] . '">' . $holiday->getName() . '</span>'; }