for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Del\Entity;
/**
* @Entity(repositoryClass="Del\Repository\EmailLink")
*/
class EmailLink
{
* @Id @Column(type="integer")
* @GeneratedValue
private $id;
* @ManyToOne(targetEntity="Del\Entity\User")
private $user;
* @Column(type="datetime")
private $expiry_date;
* @Column(type="string")
private $token;
* @return mixed
public function getId()
return $this->id;
}
* @param mixed $id
* @return EmailLink
public function setId($id)
$this->id = $id;
return $this;
public function getUser()
return $this->user;
* @param mixed $user
public function setUser($user)
$this->user = $user;
public function getExpiryDate()
return $this->expiry_date;
* @param mixed $expiry_date
public function setExpiryDate($expiry_date)
$this->expiry_date = $expiry_date;
public function getToken()
return $this->token;
* @param mixed $token
public function setToken($token)
$this->token = $token;