diff --git a/src2/symfony/Model/Quote.php b/src2/symfony/Model/Quote.php deleted file mode 100644 index c05f57ee7..000000000 --- a/src2/symfony/Model/Quote.php +++ /dev/null @@ -1,86 +0,0 @@ - - * @package WBW\Library\Symfony\Model - */ -class Quote implements QuoteInterface { - - use DateTimeDateTrait; - use StringContentTrait; - - /** - * Author. - * - * @var string - */ - private $author; - - /** - * Saint. - * - * @var string|null - */ - private $saint; - - /** - * Constructor. - */ - public function __construct() { - // NOTHING TO DO - } - - /** - * {@inheritDoc} - */ - public function getAuthor(): ?string { - return $this->author; - } - - /** - * {@inheritDoc} - */ - public function getSaint(): ?string { - return $this->saint; - } - - /** - * Set the author. - * - * @param string $author The author. - * @return Quote Returns this quote. - */ - public function setAuthor(string $author): QuoteInterface { - $this->author = $author; - return $this; - } - - /** - * Set the saint. - * - * @param string $saint The saint. - * @return Quote Returns this quote. - */ - public function setSaint(string $saint): QuoteInterface { - $this->saint = $saint; - return $this; - } -} diff --git a/src2/symfony/Model/QuoteInterface.php b/src2/symfony/Model/QuoteInterface.php deleted file mode 100644 index f05277925..000000000 --- a/src2/symfony/Model/QuoteInterface.php +++ /dev/null @@ -1,53 +0,0 @@ - - * @package WBW\Library\Symfony\Model - */ -interface QuoteInterface { - - /** - * Get the author. - * - * @return string|null Returns the author. - */ - public function getAuthor(): ?string; - - /** - * Get the content. - * - * @return string|null Returns the content. - */ - public function getContent(): ?string; - - /** - * Get the date. - * - * @return DateTime|null Returns the date. - */ - public function getDate(): ?DateTime; - - /** - * Get the saint. - * - * @return string|null Returns the saint. - */ - public function getSaint(): ?string; -}