LibreDTE

NormalizerWorker extends AbstractWorker
in package
implements NormalizerWorkerInterface uses StrategiesAwareTrait

Clase para los normalizadores.

Attributes
#[Worker]
$name: 'normalizer'
$component: 'document'
$package: 'billing'

Table of Contents

Interfaces

NormalizerWorkerInterface
Interfaz para los normalizadores.

Methods

__construct()  : mixed
normalize()  : array<string|int, mixed>
Realiza la normalización del documento.

Methods

__construct()

public __construct([iterable<string|int, mixed> $strategies = [] ]) : mixed
Parameters
$strategies : iterable<string|int, mixed> = []

normalize()

Realiza la normalización del documento.

public normalize(DocumentBagInterface $bag) : array<string|int, mixed>
Parameters
$bag : DocumentBagInterface

Contenedor con los datos del documento a normalizar.

Return values
array<string|int, mixed>

Datos del documento normalizados.


        
On this page

Search results