chapter hgroup + calming decor
This commit is contained in:
parent
0545b131de
commit
94d14d70c1
370 changed files with 9583 additions and 1566 deletions
|
|
@ -63,12 +63,12 @@ class Options extends Collection
|
|||
return $collection;
|
||||
}
|
||||
|
||||
public function render(ModelWithContent $model): array
|
||||
public function render(ModelWithContent $model, bool $safeMode = true): array
|
||||
{
|
||||
$options = [];
|
||||
|
||||
foreach ($this->data as $key => $option) {
|
||||
$options[$key] = $option->render($model);
|
||||
$options[$key] = $option->render($model, $safeMode);
|
||||
}
|
||||
|
||||
return array_values($options);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue