<?php
namespace ModulesAbstract\ElectronicInvoice\UBL30Structure; class AbstractPeppolElementWithOneValueBool extends AbstractPeppolElementWithOneValue { public function renderField(string $field, $value): string { $fieldMapping = [ 'value' => 'B', ]; return $this->customRenderer($fieldMapping[$field], $value); } } 