Incoming Entity for receiving incoming GPS XML data from /api endpoints
package |
App\Entity |
---|---|
ORM\Table |
(name="incoming") |
ORM\Entity |
(repositoryClass="App\Repository\IncomingRepository") |
__construct()
addOutgoing(\App\Entity\Outgoing $outgoing) : \App\Entity\Incoming
createdOnPrePersit()
ORM\PrePersist | |
---|---|
getGpsId() : null|string
null|string
getHeaders() : array|null
array|null
getId() : integer|null
integer|null
getLatency() : integer|null
integer|null
getOutgoings() : \Doctrine\Common\Collections\Collection|array<mixed,\App\Entity\Outgoing>
getPayload() : string
string
getReceived() : integer
integer
removeOutgoing(\App\Entity\Outgoing $outgoing) : \App\Entity\Incoming
setCreated(integer $created) : \App\Entity\Incoming
setGpsId(string $gpsId) : \App\Entity\Incoming
setHeaders(array $headers) : \App\Entity\Incoming
setLatency(integer $latency) : \App\Entity\Incoming
setPayload(string $payload) : \App\Entity\Incoming
setReceived(integer $received) : \App\Entity\Incoming
id : integer
var | |
---|---|
ORM\Column |
(name="id", type="integer", nullable=false) |
ORM\Id | |
ORM\GeneratedValue |
(strategy="IDENTITY") |
integer
gpsId : string
var | |
---|---|
ORM\Column |
(name="gps_id", type="string", length=32, nullable=false) |
Assert\NotNull |
() |
string
payload : string
var | |
---|---|
ORM\Column |
(name="payload", type="text", nullable=false) |
string
headers : array
var | |
---|---|
ORM\Column |
(name="headers", type="json", nullable=false) |
array
received : integer
var | |
---|---|
ORM\Column |
(name="received", type="integer", nullable=true) |
integer
latency : integer|null
var | |
---|---|
ORM\Column |
(name="latency", type="integer", nullable=true) |
integer|null
created : integer
var | |
---|---|
Gedmo\Timestampable |
(on="create") |
ORM\Column |
(type="integer", name="created", nullable=true) |
integer
outgoings : \Doctrine\Common\Collections\ArrayCollection
ORM\OneToMany |
(targetEntity="App\Entity\Outgoing", mappedBy="incomingId", cascade={"remove"}, orphanRemoval=true) |
---|---|
var |
\Doctrine\Common\Collections\ArrayCollection