Init Gitea

This commit is contained in:
dqj
2025-10-06 21:45:33 +09:00
commit c8607205a2
33 changed files with 4268 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
*
* http://www.ec-cube.co.jp/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Plugin\Passkeys\Repository;
use Doctrine\Persistence\ManagerRegistry;
use Eccube\Repository\AbstractRepository;
use Plugin\Passkeys\Entity\PasskeysAuthConfig;
use Plugin\Passkeys\Entity\PasskeysCustomerCookie;
/**
* PasskeysAuthConfigRepository.
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class PasskeysAuthConfigRepository extends AbstractRepository
{
/**
* PasskeysAuthConfigRepository constructor.
*
* @param ManagerRegistry $registry
*/
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, PasskeysAuthConfig::class);
}
/**
* @return object|PasskeysAuthConfig|PasskeysCustomerCookie|null $result
*/
public function findOne()
{
return $this->findOneBy([], ['id' => 'DESC']);
}
}