diff options
Diffstat (limited to 'src/Model/VoteCard.php')
-rw-r--r-- | src/Model/VoteCard.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Model/VoteCard.php b/src/Model/VoteCard.php index e9b3e60..292789f 100644 --- a/src/Model/VoteCard.php +++ b/src/Model/VoteCard.php @@ -22,5 +22,10 @@ class VoteCard extends Vote * @ManyToOne(targetEntity="Card", inversedBy="votes", cascade={"persist"}) */ public Card $card; + + public function __contruct(int $value) + { + $this->card = $card; + } } |