diff --git a/mvc_PSR4_twig/modeles/Article.php b/mvc_PSR4_twig/modeles/Article.php new file mode 100755 index 0000000..14e9e2e --- /dev/null +++ b/mvc_PSR4_twig/modeles/Article.php @@ -0,0 +1,127 @@ +title = $title; + $this->date = $date; + $this->description = $description; + $this->guid = $guid; + $this->link = $link; + $this->mediaContent = $mediaContent; + } + + /** + * @return string + */ + public function getTitle(): string + { + return $this->title; + } + + /** + * @param string $title + */ + public function setTitle(string $title): void + { + $this->title = $title; + } + + /** + * @return string + */ + public function getDate(): string + { + return $this->date; + } + + /** + * @param string $date + */ + public function setDate(string $date): void + { + $this->date = $date; + } + + /** + * @return string + */ + public function getDescription(): string + { + return $this->description; + } + + /** + * @param string $description + */ + public function setDescription(string $description): void + { + $this->description = $description; + } + + /** + * @return string + */ + public function getGuid(): string + { + return $this->guid; + } + + /** + * @param string $guid + */ + public function setGuid(string $guid): void + { + $this->guid = $guid; + } + + /** + * @return string + */ + public function getLink(): string + { + return $this->link; + } + + /** + * @param string $link + */ + public function setLink(string $link): void + { + $this->link = $link; + } + + /** + * @return string + */ + public function getMediaContent(): string + { + return $this->mediaContent; + } + + /** + * @param string $mediaContent + */ + public function setMediaContent(string $mediaContent): void + { + $this->mediaContent = $mediaContent; + } +} \ No newline at end of file diff --git a/mvc_PSR4_twig/modeles/Simplemodel.php b/mvc_PSR4_twig/modeles/Simplemodel.php deleted file mode 100755 index 277c591..0000000 --- a/mvc_PSR4_twig/modeles/Simplemodel.php +++ /dev/null @@ -1,15 +0,0 @@ -