@@ -14,36 +14,52 @@ class ItemMeta
1414 /**
1515 * @ORM\Column(type="integer", options={"default"=0})
1616 */
17- private int $ attachCount ;
17+ private int $ attachmentsCount ;
1818
1919 /**
2020 * @ORM\Column(nullable=true)
2121 */
22- private ?string $ webSite ;
22+ private ?string $ website ;
2323
24- public function __construct (int $ attachCount = 0 , ?string $ webSite = null )
24+ /**
25+ * @ORM\Column(nullable=true)
26+ */
27+ private ?string $ title ;
28+
29+ public function __construct (int $ attachmentsCount = 0 , ?string $ website = null , ?string $ title = null )
30+ {
31+ $ this ->attachmentsCount = $ attachmentsCount ;
32+ $ this ->website = $ website ;
33+ $ this ->title = $ title ;
34+ }
35+
36+ public function getAttachmentsCount (): int
37+ {
38+ return $ this ->attachmentsCount ;
39+ }
40+
41+ public function setAttachmentsCount (int $ attachmentsCount ): void
2542 {
26- $ this ->attachCount = $ attachCount ;
27- $ this ->webSite = $ webSite ;
43+ $ this ->attachmentsCount = $ attachmentsCount ;
2844 }
2945
30- public function getAttachCount (): int
46+ public function getWebsite (): ? string
3147 {
32- return $ this ->attachCount ;
48+ return $ this ->website ;
3349 }
3450
35- public function setAttachCount ( int $ attachCount ): void
51+ public function setWebsite (? string $ website ): void
3652 {
37- $ this ->attachCount = $ attachCount ;
53+ $ this ->website = $ website ;
3854 }
3955
40- public function getWebSite (): ?string
56+ public function getTitle (): ?string
4157 {
42- return $ this ->webSite ;
58+ return $ this ->title ;
4359 }
4460
45- public function setWebSite (?string $ webSite ): void
61+ public function setTitle (?string $ title ): void
4662 {
47- $ this ->webSite = $ webSite ;
63+ $ this ->title = $ title ;
4864 }
4965}
0 commit comments