Sf TIC Bundles

EntityBlameable

Gestion des champs createdBy et updatedBy d'une entité Doctrine.

Alternative sans nécessiter ni extension Doctrine, ni bundle tiers, tels que Gedmo et StofDoctrineExtensionsBundle.

Tags
see

Gedmo\Timestampable\Traits\BlameableEntity;

ATTENTION: aucune prise en charge automatique !

Table of Contents

Properties

$createdBy  : mixed
$updatedBy  : mixed

Methods

getCreatedBy()  : string|null
Get the creation author.
getUpdatedBy()  : string|null
Get the modification author.
setCreatedBy()  : self
Set the creation author.
setUpdatedBy()  : self
Set the modification author.

Properties

$updatedBy

private mixed $updatedBy
Tags
ORM\Column

(type="string", nullable=true)

Methods

getCreatedBy()

Get the creation author.

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

getUpdatedBy()

Get the modification author.

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

setCreatedBy()

Set the creation author.

public setCreatedBy(string|null $createdBy) : self
Parameters
$createdBy : string|null
Return values
self

setUpdatedBy()

Set the modification author.

public setUpdatedBy(string|null $updatedBy) : self
Parameters
$updatedBy : string|null
Return values
self

        
On this page

Search results