JEMBOT MAWOT Bypass Shell

Current Path : /home/cinepatreb/billetterie/src/Core/Domain/Language/Command/
Upload File :
Current File : /home/cinepatreb/billetterie/src/Core/Domain/Language/Command/EditLanguageCommand.php

<?php
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */

namespace PrestaShop\PrestaShop\Core\Domain\Language\Command;

use PrestaShop\PrestaShop\Core\Domain\Language\ValueObject\IsoCode;
use PrestaShop\PrestaShop\Core\Domain\Language\ValueObject\LanguageId;
use PrestaShop\PrestaShop\Core\Domain\Language\ValueObject\TagIETF;

/**
 * Edits given language with provided data
 */
class EditLanguageCommand
{
    /**
     * @var LanguageId
     */
    private $languageId;

    /**
     * @var string|null
     */
    private $name;

    /**
     * @var IsoCode|null
     */
    private $isoCode;

    /**
     * @var TagIETF|null
     */
    private $tagIETF;

    /**
     * @var string|null
     */
    private $shortDateFormat;

    /**
     * @var string|null
     */
    private $fullDateFormat;

    /**
     * @var string|null
     */
    private $flagImagePath;

    /**
     * @var string|null
     */
    private $noPictureImagePath;

    /**
     * @var bool|null
     */
    private $isRtl;

    /**
     * @var bool|null
     */
    private $isActive;

    /**
     * @var int[]|null
     */
    private $shopAssociation;

    /**
     * @param int $languageId
     */
    public function __construct($languageId)
    {
        $this->languageId = new LanguageId($languageId);
    }

    /**
     * @return LanguageId
     */
    public function getLanguageId()
    {
        return $this->languageId;
    }

    /**
     * @param LanguageId $languageId
     *
     * @return self
     */
    public function setLanguageId($languageId)
    {
        $this->languageId = $languageId;

        return $this;
    }

    /**
     * @return string|null
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @param string|null $name
     *
     * @return self
     */
    public function setName($name)
    {
        $this->name = $name;

        return $this;
    }

    /**
     * @return IsoCode|null
     */
    public function getIsoCode()
    {
        return $this->isoCode;
    }

    /**
     * @param string $isoCode
     *
     * @return self
     */
    public function setIsoCode($isoCode)
    {
        $this->isoCode = new IsoCode($isoCode);

        return $this;
    }

    /**
     * @return TagIETF|null
     */
    public function getTagIETF()
    {
        return $this->tagIETF;
    }

    /**
     * @param string $tagIETF
     *
     * @return self
     */
    public function setTagIETF($tagIETF)
    {
        $this->tagIETF = new TagIETF($tagIETF);

        return $this;
    }

    /**
     * @return string|null
     */
    public function getShortDateFormat()
    {
        return $this->shortDateFormat;
    }

    /**
     * @param string $shortDateFormat
     *
     * @return self
     */
    public function setShortDateFormat($shortDateFormat)
    {
        $this->shortDateFormat = $shortDateFormat;

        return $this;
    }

    /**
     * @return string|null
     */
    public function getFullDateFormat()
    {
        return $this->fullDateFormat;
    }

    /**
     * @param string $fullDateFormat
     *
     * @return self
     */
    public function setFullDateFormat($fullDateFormat)
    {
        $this->fullDateFormat = $fullDateFormat;

        return $this;
    }

    /**
     * @return string|null
     */
    public function getFlagImagePath()
    {
        return $this->flagImagePath;
    }

    /**
     * @param string $flagImagePath
     *
     * @return self
     */
    public function setFlagImagePath($flagImagePath)
    {
        $this->flagImagePath = $flagImagePath;

        return $this;
    }

    /**
     * @return string|null
     */
    public function getNoPictureImagePath()
    {
        return $this->noPictureImagePath;
    }

    /**
     * @param string $noPictureImagePath
     *
     * @return self
     */
    public function setNoPictureImagePath($noPictureImagePath)
    {
        $this->noPictureImagePath = $noPictureImagePath;

        return $this;
    }

    /**
     * @return bool|null
     */
    public function isRtl()
    {
        return $this->isRtl;
    }

    /**
     * @param bool $isRtl
     *
     * @return self
     */
    public function setIsRtl($isRtl)
    {
        $this->isRtl = $isRtl;

        return $this;
    }

    /**
     * @return bool|null
     */
    public function isActive()
    {
        return $this->isActive;
    }

    /**
     * @param bool $isActive
     *
     * @return self
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;

        return $this;
    }

    /**
     * @return int[]|null
     */
    public function getShopAssociation()
    {
        return $this->shopAssociation;
    }

    /**
     * @param int[] $shopAssociation
     *
     * @return self
     */
    public function setShopAssociation(array $shopAssociation)
    {
        $this->shopAssociation = $shopAssociation;

        return $this;
    }
}

xxxxx1.0, XXX xxxx