for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MÓDULO DE EMISIÓN ELECTRÓNICA F72X
* UBL 2.1
* Version 1.0
*
* Copyright 2019, Jaime Cruz
*/
namespace F72X\UblComponent;
use Sabre\Xml\Writer;
class Note extends BaseComponent {
/** @var string */
protected $languageLocaleID;
protected $Value;
public function __construct($Value) {
$this->Value = $Value;
}
public function xmlSerialize(Writer $writer) {
$writer->write([
'name' => SchemaNS::CBC . 'Note',
'value' => $this->Value,
'attributes' => [
'languageLocaleID' => $this->languageLocaleID
]
]);
public function getLanguageLocaleID() {
return $this->languageLocaleID;
public function setLanguageLocaleID($languageLocaleID) {
$this->languageLocaleID = $languageLocaleID;
return $this;
public function getValue() {
return $this->Value;
public function setValue($Value) {