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
$__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
$__isInitialized__
public
bool
$__isInitialized__
= false
flag indicating if this object was already initialized
Tags
$lazyPropertiesDefaults
public
static array<string, mixed>
$lazyPropertiesDefaults
= array()
default values of properties to be lazy loaded, with keys being the property names
Tags
$lazyPropertiesNames
public
static array<string, null>
$lazyPropertiesNames
= array()
properties to be lazy loaded, indexed by property name
Methods
__clone()
public
__clone() : mixed
__construct()
public
__construct([Closure|null $initializer = null ][, Closure|null $cloner = null ]) : mixed
Parameters
- $initializer : Closure|null = null
- $cloner : Closure|null = null
__load()
Forces initialization of the proxy
public
__load() : mixed
__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__wakeup()
public
__wakeup() : mixed
getCountry()
public
getCountry() : Country
Return values
CountrygetParkingVatRate()
public
getParkingVatRate() : string|null
Return values
string|nullgetReducedAltVatRate()
public
getReducedAltVatRate() : string|null
Return values
string|nullgetReducedVatRate()
public
getReducedVatRate() : string|null
Return values
string|nullgetStandardVatRate()
public
getStandardVatRate() : string
Return values
stringgetStartDate()
public
getStartDate() : DateTime
Return values
DateTimegetSuperReducedVatRate()
public
getSuperReducedVatRate() : string|null
Return values
string|nullgetVatRateByType()
public
getVatRateByType(mixed $type) : string
Parameters
- $type : mixed
Return values
stringjsonSerialize()
public
jsonSerialize() : mixed
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