events/Classes/Domain/Model/Region.php
Daniel Siepmann f618536ff9 Add PHPStan
In order to static analyze code and prevent bugs when changing code.
Fix issues in most of the files.
2021-09-07 11:07:55 +02:00

49 lines
913 B
PHP

<?php
namespace Wrm\Events\Domain\Model;
/*
*
* This file is part of the "DD Events" Extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* (c) 2019 Dirk Koritnik <koritnik@werkraum-media.de>
*
*/
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
class Region extends AbstractEntity
{
/**
* @var string
*/
protected $title = '';
/**
* @var int
*/
protected $_languageUid;
public function getTitle(): string
{
return $this->title;
}
public function setTitle(string $title): void
{
$this->title = $title;
}
public function setLanguageUid(int $languageUid): void
{
$this->_languageUid = $languageUid;
}
public function getLanguageUid(): int
{
return $this->_languageUid;
}
}