Documentation

Notification
in package

Tags
ORM\Entity

(repositoryClass=NotificationRepository::class)

Table of Contents

$content  : mixed
$date  : mixed
$id  : mixed
$seen  : mixed
$user  : mixed
__construct()  : mixed
__toString()  : string
getContent()  : string|null
getDate()  : DateTimeInterface|null
getId()  : int|null
getSeen()  : bool|null
getUser()  : User|null
setContent()  : self
setDate()  : self
setSeen()  : self
setUser()  : self

Properties

$content

private mixed $content
Tags
ORM\Column

(type="text")

$date

private mixed $date
Tags
ORM\Column

(type="datetime")

$id

private mixed $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$seen

private mixed $seen
Tags
ORM\Column

(type="boolean")

$user

private mixed $user
Tags
ORM\ManyToOne

(targetEntity=User::class, inversedBy="notifications")

Methods

__construct()

public __construct(mixed $user[, mixed $content = '' ]) : mixed
Parameters
$user : mixed
$content : mixed = ''
Return values
mixed

__toString()

public __toString() : string
Return values
string

getContent()

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

getDate()

public getDate() : DateTimeInterface|null
Return values
DateTimeInterface|null

getId()

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

getSeen()

public getSeen() : bool|null
Return values
bool|null

setContent()

public setContent(string $content) : self
Parameters
$content : string
Return values
self

setDate()

public setDate(DateTimeInterface $date) : self
Parameters
$date : DateTimeInterface
Return values
self

setSeen()

public setSeen(bool $seen) : self
Parameters
$seen : bool
Return values
self

setUser()

public setUser(User|null $user) : self
Parameters
$user : User|null
Return values
self

Search results