23 lines
588 B
PHP
23 lines
588 B
PHP
<?php
|
|
|
|
namespace Reservair\Templating\Elements;
|
|
|
|
use Reservair\Templating\RsvTemplateElement;
|
|
use Reservair\Templating\RsvTemplateSymbols;
|
|
|
|
/**
|
|
* Emits the client-side summary placeholder. The browser-side RsvFormSender
|
|
* locates this div after form submission and fills it with the visitor's
|
|
* selected time slots.
|
|
*/
|
|
class RsvReservationSummaryElement implements RsvTemplateElement {
|
|
|
|
public function render(RsvTemplateSymbols $symbols): string {
|
|
return '<div class="rsv-success-summary"></div>';
|
|
}
|
|
|
|
public function symbols(): array {
|
|
return [];
|
|
}
|
|
}
|