Documentation

FileResource
in package
implements JsonSerializable, FileResource

Tags
ORM\Table

(name="file_resource")

ORM\Entity

(repositoryClass="Vatjar\Data\Repository\FileResourceRepository")

Table of Contents

Interfaces

JsonSerializable
FileResource

Properties

$delayedFilesDeletion  : array<string|int, DelayedFilesDeletion>|null
$hoursProtection  : int
$id  : int
$label  : string|null

Methods

getHoursProtection()  : int
getId()  : int
getLabel()  : string|null
jsonSerialize()  : array<string|int, mixed>
setHoursProtection()  : void
setId()  : void
setLabel()  : void

Properties

$delayedFilesDeletion

private array<string|int, DelayedFilesDeletion>|null $delayedFilesDeletion
Tags
ORM\OneToMany

(targetEntity="DelayedFilesDeletion", mappedBy="fileResource")

ORM\JoinColumn

(name="id", referencedColumnName="resource_id")

$hoursProtection

private int $hoursProtection
Tags
ORM\Column

(type="integer")

$id

private int $id
Tags
ORM\Id

()

ORM\GeneratedValue

(strategy="NONE")

ORM\Column

(type="integer")

$label

private string|null $label
Tags
ORM\Column

(type="string")

Methods

getHoursProtection()

public getHoursProtection() : int
Return values
int

getLabel()

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

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

setHoursProtection()

public setHoursProtection(int $hoursProtection) : void
Parameters
$hoursProtection : int

setId()

public setId(int $id) : void
Parameters
$id : int

setLabel()

public setLabel(string|null $label) : void
Parameters
$label : string|null

        
On this page

Search results