Files
typo3-13/packages/ep_theme/Classes/Domain/Model/Page.php
T
frommeandClaude Opus 5.5 f4556ee75c refactor: remove dead code via Rector
rector.php gets the deadCode set: @param/@return/@var tags that only
repeat native types, === true comparisons, three unused constructor
dependencies (DateService, ProductDataService, AjaxWatchlistController),
the unused reseller lookup in ContextProcessor and an always-false check
in AbstractMappedFinisher (trimExplode with removeEmpty never yields an
empty remote name).

Checked locally: frontend crawl (~1,900 URLs) and the backchannel APIs
render the same as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-26 11:10:20 +01:00

99 lines
1.4 KiB
PHP

<?php
namespace EP\EpTheme\Domain\Model;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
class Page extends AbstractEntity
{
#[\Override]
protected ?int $uid = null;
#[\Override]
protected ?int $pid = null;
/**
* @var bool
*/
protected $hidden;
/**
* @var string
*/
protected $title;
/**
* @var string
*/
protected $seoTitle;
/**
* @var string
*/
protected $description;
/**
* @return bool
*/
public function isHidden()
{
return $this->hidden;
}
/**
* @param bool $hidden
*/
public function setHidden($hidden)
{
$this->hidden = $hidden;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getSeoTitle()
{
return $this->seoTitle;
}
/**
* @param string $seoTitle
*/
public function setSeoTitle($seoTitle)
{
$this->seoTitle = $seoTitle;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
}