Invitation
extends Invitation
in package
implements
Proxy
DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
Table of Contents
Interfaces
- Proxy
Constants
- STATUS_ID_ACCEPTED = 1
- STATUS_ID_PENDING = 0
- STATUS_ID_REJECTED = -1
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
- fromInvitationCreateRequest() : mixed
- getAccountTypeId() : int|null
- getAuthorization() : UserAccountClientAuthorization|null
- getAuthorizationTypeId() : int|null
- getAuthorizedUserAccount() : UserAccount|null
- getClient() : Client|null
- getEmail() : string|null
- getFirstName() : string|null
- getId() : int|null
- getInvitedDT() : DateTime|null
- getLastName() : string|null
- getResponseDT() : DateTime|null
- getStatusId() : int|null
- getToken() : string|null
- jsonSerialize() : array<string|int, mixed>
- tryAccept() : Invitation
- tryReject() : Invitation
- trySetStatusId() : Invitation
Constants
STATUS_ID_ACCEPTED
public
mixed
STATUS_ID_ACCEPTED
= 1
STATUS_ID_PENDING
public
mixed
STATUS_ID_PENDING
= 0
STATUS_ID_REJECTED
public
mixed
STATUS_ID_REJECTED
= -1
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
fromInvitationCreateRequest()
public
static fromInvitationCreateRequest(InvitationCreateRequest $invitationCreateRequest, Client $client, string $token) : mixed
Parameters
- $invitationCreateRequest : InvitationCreateRequest
- $client : Client
- $token : string
getAccountTypeId()
public
getAccountTypeId() : int|null
Return values
int|nullgetAuthorization()
public
getAuthorization() : UserAccountClientAuthorization|null
Return values
UserAccountClientAuthorization|nullgetAuthorizationTypeId()
public
getAuthorizationTypeId() : int|null
Return values
int|nullgetAuthorizedUserAccount()
public
getAuthorizedUserAccount() : UserAccount|null
Return values
UserAccount|nullgetClient()
public
getClient() : Client|null
Return values
Client|nullgetEmail()
public
getEmail() : string|null
Return values
string|nullgetFirstName()
public
getFirstName() : string|null
Return values
string|nullgetId()
public
getId() : int|null
Return values
int|nullgetInvitedDT()
public
getInvitedDT() : DateTime|null
Return values
DateTime|nullgetLastName()
public
getLastName() : string|null
Return values
string|nullgetResponseDT()
public
getResponseDT() : DateTime|null
Return values
DateTime|nullgetStatusId()
public
getStatusId() : int|null
Return values
int|nullgetToken()
public
getToken() : string|null
Return values
string|nulljsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>tryAccept()
public
tryAccept(UserAccountClientAuthorization $authorization) : Invitation
Parameters
- $authorization : UserAccountClientAuthorization
Return values
InvitationtryReject()
public
tryReject() : Invitation
Return values
InvitationtrySetStatusId()
public
trySetStatusId(int $statusId) : Invitation
Parameters
- $statusId : int