Documentation

Log
in package

Tags
ORM\Entity

(repositoryClass=LogRepository::class)

Table of Contents

$action  : mixed
$date  : mixed
$id  : mixed
$reference  : mixed
$referenceType  : mixed
$user  : mixed
__construct()  : mixed
getAction()  : string|null
getDate()  : DateTimeInterface|null
getFormattedDate()  : string
getId()  : int|null
getReference()  : mixed
getReferenceType()  : string|null
getUser()  : User|null
setAction()  : self
setDate()  : self
setReference()  : self
setReferenceType()  : self
setUser()  : self

Properties

$action

private mixed $action
Tags
ORM\Column

(type="string", length=255)

$date

private mixed $date
Tags
ORM\Column

(type="datetime")

$id

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

(type="integer")

$reference

private mixed $reference
Tags
ORM\Column

(type="object",nullable=true)

$referenceType

private mixed $referenceType
Tags
ORM\Column

(type="string", length=255, nullable=true)

$user

private mixed $user
Tags
ORM\ManyToOne

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

Methods

__construct()

public __construct(User $user, object $reference, string $action) : mixed
Parameters
$user : User
$reference : object
$action : string
Return values
mixed

getAction()

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

getDate()

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

getFormattedDate()

public getFormattedDate() : string
Return values
string

getId()

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

getReference()

public getReference() : mixed
Return values
mixed

getReferenceType()

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

getUser()

public getUser() : User|null
Return values
User|null

setAction()

public setAction(string $action) : self
Parameters
$action : string
Return values
self

setDate()

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

setReference()

public setReference(mixed $reference) : self
Parameters
$reference : mixed
Return values
self

setReferenceType()

public setReferenceType(string|null $referenceType) : self
Parameters
$referenceType : string|null
Return values
self

setUser()

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

Search results