Skip to content

Abstract Class EventRenderer

Helper class for rendering event properties.

Methods

render

Renders the event property using the configured template.

public static render(ElementInterface $element, EventProp $prop, bool $ics = false): string
$element ElementInterface Event to render
$prop EventProp Property to render
$ics bool Whether this is being rendered for an ICS file
return string