SubscriptionStatus
extends SubscriptionStatus
in package
implements
Proxy
DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
Table of Contents
Interfaces
- Proxy
Constants
- SUBSCRIPTION_STATUS_ACTIVE = 'active'
- SUBSCRIPTION_STATUS_CANCELLED = 'cancelled'
- SUBSCRIPTION_STATUS_PENDING = 'pending'
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
- getId() : int
- Get $id
- getMonth() : int
- Get $month
- getStatus() : int
- Get $status
- getSubscription() : Subscriptions|null
- getSubscriptionEvent() : SubscriptionEvents|null
- getYear() : int
- Get $year
- jsonSerialize() : mixed
- setId() : self
- Set $id
- setMonth() : self
- Set $month
- setStatus() : self
- Set $status
- setSubscription() : void
- setSubscriptionEvent() : void
- setYear() : self
- Set $year
Constants
SUBSCRIPTION_STATUS_ACTIVE
public
mixed
SUBSCRIPTION_STATUS_ACTIVE
= 'active'
SUBSCRIPTION_STATUS_CANCELLED
public
mixed
SUBSCRIPTION_STATUS_CANCELLED
= 'cancelled'
SUBSCRIPTION_STATUS_PENDING
public
mixed
SUBSCRIPTION_STATUS_PENDING
= 'pending'
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
getId()
Get $id
public
getId() : int
Return values
intgetMonth()
Get $month
public
getMonth() : int
Return values
intgetStatus()
Get $status
public
getStatus() : int
Return values
intgetSubscription()
public
getSubscription() : Subscriptions|null
Return values
Subscriptions|nullgetSubscriptionEvent()
public
getSubscriptionEvent() : SubscriptionEvents|null
Return values
SubscriptionEvents|nullgetYear()
Get $year
public
getYear() : int
Return values
intjsonSerialize()
public
jsonSerialize() : mixed
setId()
Set $id
public
setId(mixed $id) : self
Parameters
- $id : mixed
-
$id
Return values
selfsetMonth()
Set $month
public
setMonth(mixed $month) : self
Parameters
- $month : mixed
Return values
selfsetStatus()
Set $status
public
setStatus(mixed $status) : self
Parameters
- $status : mixed
Return values
selfsetSubscription()
public
setSubscription(Subscriptions $subscription) : void
Parameters
- $subscription : Subscriptions
setSubscriptionEvent()
public
setSubscriptionEvent(SubscriptionEvents|null $subscription_event) : void
Parameters
- $subscription_event : SubscriptionEvents|null
setYear()
Set $year
public
setYear(mixed $year) : self
Parameters
- $year : mixed