events/Classes/Service/DestinationDataImportService/CategoriesAssignment/Import.php
Daniel Siepmann 81065f5c67
BREAKING: TYPO3 v12 support (#44)
* Migrated all fixtures to PHP.
* Removed version specific adjustments.
2023-11-27 10:04:42 +01:00

39 lines
802 B
PHP

<?php
declare(strict_types=1);
namespace WerkraumMedia\Events\Service\DestinationDataImportService\CategoriesAssignment;
use WerkraumMedia\Events\Domain\Model\Category;
final class Import
{
public function __construct(
private readonly ?Category $parentCategory,
private readonly ?int $pid,
private readonly array $categoryTitles,
private readonly bool $hideByDefault = false
) {
}
public function getParentCategory(): ?Category
{
return $this->parentCategory;
}
public function getPid(): ?int
{
return $this->pid;
}
public function getCategoryTitles(): array
{
return $this->categoryTitles;
}
public function getHideByDefault(): bool
{
return $this->hideByDefault;
}
}