InvoiceValidated
in package
Read onlyYes
FinalYes
Dispatched after a render run whose validation did not block it, before InvoiceRendered.
$result is the validation of the main (first) format: in mode "error" it has no errors (warnings may be present unless validation.block_on_warnings), in mode "warn" it may contain errors, so check $result->isValid(). Not dispatched in mode "off" (nothing was validated) and not when validation blocked the run (see InvoiceValidationFailed).
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$invoice
public
InvoiceData
$invoice
$result
public
ValidationResult
$result
Methods
__construct()
public
__construct(InvoiceData $invoice, ValidationResult $result) : mixed
Parameters
- $invoice : InvoiceData
- $result : ValidationResult