Skip to content

Instantly share code, notes, and snippets.

@kurozumi
Created December 6, 2020 04:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kurozumi/91352fd97b31d73be20055243dfc33e7 to your computer and use it in GitHub Desktop.
Save kurozumi/91352fd97b31d73be20055243dfc33e7 to your computer and use it in GitHub Desktop.
会員ランクを管理するエンティティのリポジトリ
<?php
/**
* This file is part of CustomerType
*
* Copyright(c) Akira Kurozumi <info@a-zumi.net>
*
* https://a-zumi.net
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Plugin\CustomerType\Repository;
use Eccube\Repository\AbstractRepository;
use Plugin\CustomerType\Entity\CustomerType;
use Symfony\Bridge\Doctrine\RegistryInterface;
/**
* Class CustomerTypeRepository
* @package Plugin\CustomerType\Repository
*/
class CustomerTypeRepository extends AbstractRepository
{
/**
* CustomerTypeRepository constructor.
* @param RegistryInterface $registry
*/
public function __construct(RegistryInterface $registry)
{
parent::__construct($registry, CustomerType::class);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment