aboutsummaryrefslogtreecommitdiff
path: root/src/Entities/CategoryEntity.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/CategoryEntity.php')
-rw-r--r--src/Entities/CategoryEntity.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Entities/CategoryEntity.php b/src/Entities/CategoryEntity.php
index ab1f431..af44434 100644
--- a/src/Entities/CategoryEntity.php
+++ b/src/Entities/CategoryEntity.php
@@ -33,26 +33,26 @@ use function is_string;
* @license http://www.apache.org/licenses/LICENSE-2.0
* @package EPGService\Entities
*/
-class CategoryEntity {
+final class CategoryEntity {
/**
* @var int
*/
- protected int $id;
+ private int $id;
/**
* @var string
*/
- protected string $lang;
+ private string $lang;
/**
* @var string
*/
- protected string $name;
+ private string $name;
/**
* @var string
*/
- protected string $version;
+ private string $version;
/**
* @param int $id
@@ -60,7 +60,7 @@ class CategoryEntity {
* @param string $name
* @param string $version
*/
- protected function __construct(int $id, string $lang, string $name, string $version) {
+ private function __construct(int $id, string $lang, string $name, string $version) {
$this->id = $id;
$this->lang = $lang;
$this->name = $name;