Documentation

VatRateHistory extends VatRateHistory
in package
implements Proxy

DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR

Table of Contents

Interfaces

Proxy

Properties

$__cloner__  : Closure
$__initializer__  : Closure
$__isInitialized__  : bool
$lazyPropertiesDefaults  : array<string, mixed>
$lazyPropertiesNames  : array<string, null>

Methods

__clone()  : mixed
__construct()  : mixed
__load()  : mixed
Forces initialization of the proxy
__sleep()  : array<string|int, mixed>
__wakeup()  : mixed
getCountry()  : Country
getParkingVatRate()  : string|null
getReducedAltVatRate()  : string|null
getReducedVatRate()  : string|null
getStandardVatRate()  : string
getStartDate()  : DateTime
getSuperReducedVatRate()  : string|null
getVatRateByType()  : string
jsonSerialize()  : mixed
loadDateTime()  : mixed
This is neccessary because Doctrine's UnitOfWork::createEntity() method tries to create an "idHash" using implode, and only has a country as id, because DateTime cannot be converted to string.
_getVatRateByType()  : string

Properties

$__cloner__

public Closure $__cloner__

the callback responsible of loading properties that need to be copied in the cloned object

Tags
see
Proxy::__setCloner

$__initializer__

public Closure $__initializer__

the callback responsible for loading properties in the proxy object. This callback is called with three parameters, being respectively the proxy object to be initialized, the method that triggered the initialization process and an array of ordered parameters that were passed to that method.

Tags
see
Proxy::__setInitializer

$lazyPropertiesDefaults

public static array<string, mixed> $lazyPropertiesDefaults = array()

default values of properties to be lazy loaded, with keys being the property names

Tags
see
Proxy::__getLazyProperties

Methods

__construct()

public __construct([Closure|null $initializer = null ][, Closure|null $cloner = null ]) : mixed
Parameters
$initializer : Closure|null = null
$cloner : Closure|null = null

loadDateTime()

This is neccessary because Doctrine's UnitOfWork::createEntity() method tries to create an "idHash" using implode, and only has a country as id, because DateTime cannot be converted to string.

public loadDateTime() : mixed

_getVatRateByType()

protected _getVatRateByType(int $type) : string
Parameters
$type : int
Return values
string

        
On this page

Search results