vendor/coreshop/core-shop/src/CoreShop/Component/Address/Model/CountryTranslation.php line 27

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  * CoreShop
  5.  *
  6.  * This source file is available under two different licenses:
  7.  *  - GNU General Public License version 3 (GPLv3)
  8.  *  - CoreShop Commercial License (CCL)
  9.  * Full copyright and license information is available in
  10.  * LICENSE.md which is distributed with this source code.
  11.  *
  12.  * @copyright  Copyright (c) CoreShop GmbH (https://www.coreshop.org)
  13.  * @license    https://www.coreshop.org/license     GPLv3 and CCL
  14.  *
  15.  */
  16. namespace CoreShop\Component\Address\Model;
  17. use CoreShop\Component\Resource\Model\AbstractTranslation;
  18. use CoreShop\Component\Resource\Model\TimestampableTrait;
  19. /**
  20.  * @psalm-suppress MissingConstructor
  21.  */
  22. class CountryTranslation extends AbstractTranslation implements CountryTranslationInterface
  23. {
  24.     use TimestampableTrait;
  25.     /**
  26.      * @var mixed
  27.      */
  28.     protected $id;
  29.     /**
  30.      * @var string
  31.      */
  32.     protected $name;
  33.     public function getId()
  34.     {
  35.         return $this->id;
  36.     }
  37.     public function getName()
  38.     {
  39.         return $this->name;
  40.     }
  41.     public function setName($name)
  42.     {
  43.         $this->name $name;
  44.     }
  45. }