diff options
author | Jonathan Tschanter <jmtw@tutanota.de> | 2022-01-22 21:24:24 +0100 |
---|---|---|
committer | Jonathan Tschanter <jmtw@tutanota.de> | 2022-01-22 21:24:24 +0100 |
commit | 10c86197f1f63e222dfc9e937911e35ab500a208 (patch) | |
tree | 388ca37920808a66697385c6d69cf6a76e5aaf7b /src/Model/Vote.php | |
parent | 432bba3dee1d9be25b9626ac45115929a6422961 (diff) |
Adds edit cards and templates to include
Diffstat (limited to 'src/Model/Vote.php')
-rw-r--r-- | src/Model/Vote.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Model/Vote.php b/src/Model/Vote.php index c5415aa..273a7d8 100644 --- a/src/Model/Vote.php +++ b/src/Model/Vote.php @@ -26,5 +26,13 @@ class Vote * @Column(type="integer") */ public int $value; + + /** + * Vote constructor. + */ + public function __contruct(int $value) + { + $this->value = $value; + } } |