app/Customize/Entity/Master/BuddhistSect.php line 29

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of EC-CUBE
  4.  *
  5.  * Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  6.  *
  7.  * http://www.ec-cube.co.jp/
  8.  *
  9.  * For the full copyright and license information, please view the LICENSE
  10.  * file that was distributed with this source code.
  11.  */
  12. namespace Customize\Entity\Master;
  13. use Doctrine\ORM\Mapping as ORM;
  14. use Symfony\Component\Serializer\Annotation\Ignore;
  15. /**
  16.  * 仏教宗派
  17.  *
  18.  * @ORM\Table(name="mtb_buddhist_sect")
  19.  * @ORM\InheritanceType("SINGLE_TABLE")
  20.  * @ORM\DiscriminatorColumn(name="discriminator_type", type="string", length=255)
  21.  * @ORM\HasLifecycleCallbacks()
  22.  * @ORM\Entity(repositoryClass="Customize\Repository\Master\BuddhistSectRepository")
  23.  * @ORM\Cache(usage="NONSTRICT_READ_WRITE")
  24.  */
  25. class BuddhistSect extends \Eccube\Entity\Master\AbstractMasterEntity
  26. {
  27.     /** 
  28.      * @inheritDoc
  29.      * propertiesFromArrayをjsonにシリアライズしようとしてしまうのでオーバーライド
  30.      * @phpstan-ignore-next-line
  31.      */
  32.     #[Ignore]
  33.     public function setPropertiesFromArray(array $arrProps, array $excludeAttribute = [], \ReflectionClass $parentClass null)
  34.     {
  35.         parent::setPropertiesFromArray($arrProps$excludeAttribute$parentClass);
  36.     }
  37. }