mirror of
https://github.com/netzbegruenung/api-models-php.git
synced 2024-04-26 07:44:53 +02:00
56 lines
894 B
PHP
56 lines
894 B
PHP
<?php
|
|
|
|
namespace Netzbegruenung\Api\Model;
|
|
|
|
class RegionalChapterList
|
|
{
|
|
/**
|
|
* @var int|null
|
|
*/
|
|
protected $count;
|
|
|
|
/**
|
|
* @var RegionalChapter[]
|
|
*/
|
|
protected $items = [];
|
|
|
|
/**
|
|
* @return int|null
|
|
*/
|
|
public function getCount(): ?int
|
|
{
|
|
return $this->count;
|
|
}
|
|
|
|
/**
|
|
* @param int|null $count
|
|
*/
|
|
public function setCount(?int $count): void
|
|
{
|
|
$this->count = $count;
|
|
}
|
|
|
|
/**
|
|
* @return RegionalChapter[]
|
|
*/
|
|
public function getItems(): array
|
|
{
|
|
return $this->items;
|
|
}
|
|
|
|
/**
|
|
* @param RegionalChapter[] $items
|
|
*/
|
|
public function setItems(array $items): void
|
|
{
|
|
$this->items = $items;
|
|
}
|
|
|
|
/**
|
|
* @param RegionalChapter $item
|
|
*/
|
|
public function addItem(RegionalChapter $item): void
|
|
{
|
|
$this->items[] = $item;
|
|
}
|
|
} |