Documentation

Person
in package

Class User

Tags
ORM\Entity

(repositoryClass="Vatjar\Data\Repository\PersonRepository")

ORM\Table

(name="person")

Table of Contents

Properties

$avatar  : string|null
$dateOfBirth  : DateTime|null
$firstName  : string|null
$id  : mixed
$language  : string|null
$lastName  : string|null
$notificationEmail  : string|null
$phoneCode  : int|null
$phoneNumber  : string|null
$userAccount  : UserAccount

Methods

getAvatar()  : string|null
Get $avatar
getDateOfBirth()  : DateTime|null
Get the value of dateOfBirth
getDeletedAtDateString()  : string|null
getFirstName()  : string|null
Get $firstName
getFullName()  : string|null
getId()  : int|null
Get $id
getLanguage()  : string|null
Get $language
getLastName()  : string|null
Get $lastName
getNotificationEmail()  : string|null
Get $notificationEmail
getPhoneCode()  : int|null
Get $phoneCountry
getPhoneNumber()  : string|null
Get $phoneNumber
getUserAccount()  : UserAccount
Get $userAccount
isDeleted()  : bool
jsonSerialize()  : mixed
setAvatar()  : self
Set $avatar
setDateOfBirth()  : self
Set the value of dateOfBirth
setFirstName()  : self
Set $firstName
setLanguage()  : self
Set $language
setLastName()  : self
Set $lastName
setNotificationEmail()  : self
Set $notificationEmail
setPhoneCode()  : self
Set $phoneCountry
setPhoneNumber()  : self
Set $phoneNumber
setUserAccount()  : self
Set $userAccount

Properties

$avatar

private string|null $avatar
Tags
ORM\Column

(type="string", length=250)

$dateOfBirth

private DateTime|null $dateOfBirth
Tags
ORM\Column

(type="datetime", name="date_of_birth")

$firstName

private string|null $firstName
Tags
ORM\Column

(name="first_name", type="text")

$id

private mixed $id
Tags
ORM\Id

()

ORM\GeneratedValue

(strategy="NONE")

ORM\Column

(name="id", type="integer")

$language

private string|null $language
Tags
ORM\Column

(type="string", length=2)

$lastName

private string|null $lastName
Tags
ORM\Column

(name="last_name", type="text")

$notificationEmail

private string|null $notificationEmail
Tags
ORM\Column

(name="notification_email", type="string", length=150, nullable=true)

$phoneCode

private int|null $phoneCode
Tags
ORM\Column

(name="phone_code", type="integer", nullable=true)

$phoneNumber

private string|null $phoneNumber
Tags
ORM\Column

(name="phone_number", type="text", nullable=true)

$userAccount

private UserAccount $userAccount
Tags
ORM\OneToOne

(targetEntity="UserAccount", inversedBy="person")

ORM\JoinColumn

(name="id", referencedColumnName="id")

Methods

getAvatar()

Get $avatar

public getAvatar() : string|null
Return values
string|null

getDateOfBirth()

Get the value of dateOfBirth

public getDateOfBirth() : DateTime|null
Return values
DateTime|null

getDeletedAtDateString()

public getDeletedAtDateString() : string|null
Return values
string|null

getFirstName()

Get $firstName

public getFirstName() : string|null
Return values
string|null

getFullName()

public getFullName() : string|null
Return values
string|null

getId()

Get $id

public getId() : int|null
Return values
int|null

getLanguage()

Get $language

public getLanguage() : string|null
Return values
string|null

getLastName()

Get $lastName

public getLastName() : string|null
Return values
string|null

getNotificationEmail()

Get $notificationEmail

public getNotificationEmail() : string|null
Return values
string|null

getPhoneCode()

Get $phoneCountry

public getPhoneCode() : int|null
Return values
int|null

getPhoneNumber()

Get $phoneNumber

public getPhoneNumber() : string|null
Return values
string|null

isDeleted()

public isDeleted() : bool
Return values
bool

jsonSerialize()

public jsonSerialize() : mixed

setAvatar()

Set $avatar

public setAvatar(string|null $avatar) : self
Parameters
$avatar : string|null

$avatar

Return values
self

setDateOfBirth()

Set the value of dateOfBirth

public setDateOfBirth(DateTime|null $dateOfBirth) : self
Parameters
$dateOfBirth : DateTime|null
Return values
self

setFirstName()

Set $firstName

public setFirstName(string|null $firstName) : self
Parameters
$firstName : string|null

$firstName

Return values
self

setLanguage()

Set $language

public setLanguage(string|null $language) : self
Parameters
$language : string|null

$language

Return values
self

setLastName()

Set $lastName

public setLastName(string|null $lastName) : self
Parameters
$lastName : string|null

$lastName

Return values
self

setNotificationEmail()

Set $notificationEmail

public setNotificationEmail(string|null $notificationEmail) : self
Parameters
$notificationEmail : string|null

$notificationEmail

Return values
self

setPhoneCode()

Set $phoneCountry

public setPhoneCode(int|null $phoneCode) : self
Parameters
$phoneCode : int|null

$phoneCountry

Return values
self

setPhoneNumber()

Set $phoneNumber

public setPhoneNumber(string|null $phoneNumber) : self
Parameters
$phoneNumber : string|null

$phoneNumber

Return values
self

setUserAccount()

Set $userAccount

public setUserAccount(UserAccount $userAccount) : self
Parameters
$userAccount : UserAccount

$userAccount

Return values
self

        
On this page

Search results