for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the MsalsasVotingBundle package.
*
* (c) Manolo Salsas
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Msalsas\VotingBundle\Entity;
use Symfony\Component\Security\Core\User\UserInterface;
class Click
{
/**
* @var integer
protected $id;
* @var UserInterface|null
protected $user;
protected $reference;
* @var string
protected $userIP;
* @return int
public function getId(): int
return $this->id;
}
* @param int $id
public function setId(int $id)
$this->id = $id;
* @return null|UserInterface
public function getUser()
return $this->user;
* @param null|UserInterface $user
public function setUser($user)
$this->user = $user;
public function getReference(): int
return $this->reference;
* @param int $reference
public function setReference(int $reference)
$this->reference = $reference;
* @return string
public function getUserIP(): string
return $this->userIP;
* @param string $userIP
public function setUserIP(string $userIP)
$this->userIP = $userIP;