diff --git a/src/Model/Tweet.php b/src/Model/Tweet.php new file mode 100644 index 0000000..92ebd04 --- /dev/null +++ b/src/Model/Tweet.php @@ -0,0 +1,36 @@ +text = $text; + } + + public function setCreated(string $created): void + { + $this->created = $created; + } + + public function setAuthor(string $author): void + { + $this->author = $author; + } + + public function setId(int $id): void + { + $this->id = $id; + } + + public function getId(): int + { + return (int) $this->id; + } +}