Skip to content

Commit 4081fb1

Browse files
committed
✨ add missing id getters
1 parent d9d1d2f commit 4081fb1

4 files changed

Lines changed: 32 additions & 0 deletions

File tree

src/Entities/Classification.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ public function __construct()
4545
$this->files = new ArrayCollection();
4646
}
4747

48+
/**
49+
* @return int
50+
*/
51+
public function getId()
52+
{
53+
return $this->id;
54+
}
55+
4856
/**
4957
* @return string
5058
*/

src/Entities/ContentType.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ public function hydrate(TapestryContentType $contentType, Environment $environme
8585
$this->setEnvironment($environment);
8686
}
8787

88+
/**
89+
* @return int
90+
*/
91+
public function getId()
92+
{
93+
return $this->id;
94+
}
95+
8896
/**
8997
* @return string
9098
*/

src/Entities/File.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,14 @@ public function removeClassification(Classification $classification)
154154
// Getters & Setters
155155
//
156156

157+
/**
158+
* @return int
159+
*/
160+
public function getId()
161+
{
162+
return $this->id;
163+
}
164+
157165
/**
158166
* @return string
159167
*/

src/Entities/Taxonomy.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ public function hydrate(TapestryTaxonomy $taxonomy)
5858
$this->name = $taxonomy->getName();
5959
}
6060

61+
/**
62+
* @return int
63+
*/
64+
public function getId()
65+
{
66+
return $this->id;
67+
}
68+
6169
/**
6270
* @return string
6371
*/

0 commit comments

Comments
 (0)