Skip to content

Commit ca1d0e1

Browse files
committed
Helper methods for SpaceData
1 parent efd4d7e commit ca1d0e1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Data/SpaceData.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,21 @@ public function name(): string
3838
return $this->getString('name', "");
3939
}
4040

41+
public function id(): string
42+
{
43+
return $this->getString('id', "");
44+
}
45+
4146
public function createdAt(): null|string
4247
{
4348
return $this->getFormattedDateTime('created_at', "", format: "Y-m-d");
4449
}
4550

51+
public function updatedAt(): null|string
52+
{
53+
return $this->getFormattedDateTime('updated_at', "", format: "Y-m-d");
54+
}
55+
4656

4757

4858
public function planDescription(): null|string

0 commit comments

Comments
 (0)