Headers Entity to provide interface methods with database headers table
ORM\Table |
(name="headers") |
---|---|
ORM\Entity | |
ORM\Entity |
(repositoryClass="App\Repository\HeadersRepository") |
package |
App\Controller |
createdOnPrePersit()
ORM\PrePersist | |
---|---|
getAction() : string
string
getCreated() : integer
integer
$created
getEnabled() : boolean
boolean
$enabled
getGroupId() : \App\Entity\Groups|null
getId() : integer
integer
$id
getName() : string
string
$name
getUpdated() : integer
integer
$updated
getValue() : string
string
$value
setAction(string $action) : $this
string
$this
setCreated(integer $created) : $this
integer
$this
setEnabled(boolean $enabled) : $this
boolean
$this
setGroupId(\App\Entity\Groups|null $group_id) : \App\Entity\Headers
setName(string $name) : $this
string
$this
setUpdated(integer $updated) : $this
integer
$this
setValue(string $value) : $this
string
$this
updatedOnPostPersit()
ORM\PostPersist | |
---|---|
id : integer
var | |
---|---|
ORM\Column |
(name="id", type="integer", nullable=false) |
ORM\Id | |
ORM\GeneratedValue |
(strategy="IDENTITY") |
integer
name : string
var | |
---|---|
ORM\Column |
(name="name", type="string", length=48, nullable=false) |
Assert\NotNull |
string
value : string
var | |
---|---|
ORM\Column |
(name="value", type="text", length=65535, nullable=false) |
Assert\NotNull |
string
action : string
var | |
---|---|
ORM\Column |
(name="action", type="string", length=255, nullable=false) |
Assert\NotNull |
string
created : integer
var | |
---|---|
Gedmo\Timestampable |
(on="create") |
ORM\Column |
(type="integer", name="created", nullable=true) |
integer
updated : integer
var | |
---|---|
Gedmo\Timestampable |
(on="update") |
ORM\Column |
(type="integer", name="updated", nullable=true) |
integer
enabled : boolean
var | |
---|---|
ORM\Column |
(name="enabled", type="boolean", nullable=true) |
boolean
group_id :
ORM\ManyToOne |
(targetEntity="App\Entity\Groups", inversedBy="headers") |
---|---|