Documentation

Report extends Entity
in package

Report Entity

Table of Contents

Properties

$content_type  : string
$created  : DateTime|null
$id  : int
$reason  : string|null
$reporter  : User
$reporter_id  : int
$target_id  : int
$_accessible  : array<string, bool>
Fields that can be mass assigned using newEntity() or patchEntity().

Properties

$content_type

public string $content_type

$created

public DateTime|null $created

$reason

public string|null $reason

$reporter_id

public int $reporter_id

$_accessible

Fields that can be mass assigned using newEntity() or patchEntity().

protected array<string, bool> $_accessible = ['reporter_id' => true, 'content_type' => true, 'target_id' => true, 'reason' => true, 'created' => true, 'reporter' => true]

Note that when '' is set to true, this allows all unspecified fields to be mass assigned. For security purposes, it is advised to set '' to false (or remove it), and explicitly make individual fields accessible as needed.


        
On this page

Search results