| Total Complexity | 5 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class ContentTypeCollectionEntry |
||
| 21 | { |
||
| 22 | use HydratorTrait; |
||
| 23 | |||
| 24 | /** @var string */ |
||
| 25 | private $id = ""; |
||
| 26 | /** @var string */ |
||
| 27 | private $name = ""; |
||
| 28 | /** @var string */ |
||
| 29 | private $description = ""; |
||
| 30 | /** @var int */ |
||
| 31 | private $entryCount = 0; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * ContentTypeCollectionEntry constructor. |
||
| 35 | */ |
||
| 36 | 3 | final protected function __construct() |
|
| 37 | { |
||
| 38 | 3 | } |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | 1 | public function getId() |
|
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | 1 | public function getName() |
|
| 52 | { |
||
| 53 | 1 | return $this->name; |
|
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | 1 | public function getDescription() |
|
| 60 | { |
||
| 61 | 1 | return $this->description; |
|
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return int |
||
| 66 | */ |
||
| 67 | 2 | public function getEntryCount() |
|
| 70 | } |
||
| 71 | } |
||
| 72 |