Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- public function create(VoteInterface $vote, VotableCommentInterface $comment)
- {
- $this->voteBlamer->blame($vote);
- if (count($this->validator->validate($vote))) {
- return false;
- }
- $this->voteManager->addVote($vote, $comment);
- return true;
- }
Add Comment
Please, Sign In to add comment