Legend of the Green Dragon

Avatar

Table of Contents

$avatar  : mixed
getAvatar()  : Avatar|null
getCharacter()  : mixed
Alias.
setAvatar()  : self

Properties

$avatar

private mixed $avatar
Tags
ORM\OneToOne

(targetEntity=AvatarEntity::class, cascade={"persist", "remove"})

Methods

getCharacter()

Alias.

public getCharacter() : mixed
Tags
deprecated
6.0.0

character is a reserve word and changed to avatar.

Return values
mixed

setAvatar()

public setAvatar(Avatar|null $avatar) : self
Parameters
$avatar : Avatar|null
Return values
self

Search results